mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 23:22: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
@@ -21,11 +21,11 @@
|
||||
event.preventDefault();
|
||||
},
|
||||
"Escape": (event) => {
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
event.preventDefault();
|
||||
},
|
||||
"Esc": (event) => {
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
@@ -55,7 +55,7 @@
|
||||
},
|
||||
onSuccess: (response) => {
|
||||
window.parent.qBittorrent.Rss.updateRssFeedList();
|
||||
window.parent.qBittorrent.Client.closeWindows();
|
||||
window.parent.qBittorrent.Client.closeFrameWindow(window);
|
||||
},
|
||||
onFailure: (response) => {
|
||||
if (response.status === 409)
|
||||
|
||||
Reference in New Issue
Block a user