mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
set the column values on a successful request instead of being lazy and just triggering an update
This commit is contained in:
parent
828a1d339a
commit
100f4c2e9f
1 changed files with 3 additions and 1 deletions
|
@ -246,7 +246,9 @@ Deluge.Details.Files = {
|
||||||
|
|
||||||
Deluge.Client.core.set_torrent_file_priorities(this.torrentId, priorities, {
|
Deluge.Client.core.set_torrent_file_priorities(this.torrentId, priorities, {
|
||||||
onSuccess: function() {
|
onSuccess: function() {
|
||||||
this.update(this.torrentId);
|
$each(nodes, function(node) {
|
||||||
|
node.setColumnValue(3, baseItem.filePriority);
|
||||||
|
});
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue