mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 00:52:30 -06:00
WebUI: Always close one window
Closing all windows is overly broad and never the intention. PR #21804.
This commit is contained in:
committed by
GitHub
parent
0f12d077c8
commit
1cd3c586c1
@@ -20,7 +20,7 @@
|
||||
$("cancelBtn").focus();
|
||||
$("cancelBtn").addEvent("click", (e) => {
|
||||
e.stopPropagation();
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
});
|
||||
$("confirmBtn").addEvent("click", (e) => {
|
||||
e.stopPropagation();
|
||||
@@ -33,7 +33,7 @@
|
||||
urls: urls,
|
||||
},
|
||||
onComplete: () => {
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
}
|
||||
}).send();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user