mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -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
@@ -18,7 +18,7 @@
|
||||
$("cancelBtn").addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
});
|
||||
$("confirmBtn").addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
@@ -36,7 +36,7 @@
|
||||
++completionCount;
|
||||
if (completionCount === paths.length) {
|
||||
window.parent.qBittorrent.Rss.updateRssFeedList();
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
}
|
||||
}
|
||||
}).send();
|
||||
|
||||
Reference in New Issue
Block a user