mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
parent
69af205094
commit
2227c3afc1
2 changed files with 15 additions and 0 deletions
|
@ -500,6 +500,15 @@ var DynamicTable = new Class({
|
|||
this.onSelectedRowChanged();
|
||||
},
|
||||
|
||||
reselectRows : function(rowIds) {
|
||||
this.deselectAll();
|
||||
this.selectedRows = rowIds.slice();
|
||||
this.tableBody.getElements('tr').each(function(tr) {
|
||||
if (rowIds.indexOf(tr.rowId) > -1)
|
||||
tr.addClass('selected');
|
||||
});
|
||||
},
|
||||
|
||||
onSelectedRowChanged : function () {},
|
||||
|
||||
updateRowData : function (data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue