mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
WebUI: Fix deleting torrents
Fix possible showing "qBittorrent client is not reachable" message on deleting torrents.
This commit is contained in:
@@ -194,6 +194,10 @@ var DynamicTable = new Class({
|
||||
}
|
||||
},
|
||||
|
||||
deselectAll : function () {
|
||||
this.cur.empty();
|
||||
},
|
||||
|
||||
selectRow : function (rowId) {
|
||||
this.cur.empty();
|
||||
this.cur.push(rowId);
|
||||
@@ -423,7 +427,7 @@ var DynamicTable = new Class({
|
||||
},
|
||||
|
||||
selectedRowsIds : function () {
|
||||
return this.cur;
|
||||
return this.cur.slice();
|
||||
},
|
||||
|
||||
getRowIds : function () {
|
||||
|
||||
Reference in New Issue
Block a user