mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 21:21:24 -07:00
WebUI: Improve torrent deletion dialog
This PR improves torrent deletion dialog. 1. Now shows different message depending on the number of selected torrents 2. Visually pretty much inline with the GUI 3. Adjusts to content on load 4. Now uses XHR load method. Panels / windows loaded using this method become part of the current document so there is no need to import styles or scripts (they should load marginally faster now). PR #21185. --------- Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
parent
9a9c375b9d
commit
39dd415d43
7 changed files with 249 additions and 142 deletions
|
@ -657,6 +657,10 @@ window.qBittorrent.DynamicTable ??= (() => {
|
|||
}
|
||||
},
|
||||
|
||||
getRow: function(rowId) {
|
||||
return this.rows.get(rowId);
|
||||
},
|
||||
|
||||
getFilteredAndSortedRows: function() {
|
||||
const filteredRows = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue