set the column values on a successful request instead of being lazy and just triggering an update

This commit is contained in:
Damien Churchill 2009-04-02 07:15:16 +00:00
parent 828a1d339a
commit 100f4c2e9f
1 changed files with 3 additions and 1 deletions

View File

@ -246,7 +246,9 @@ Deluge.Details.Files = {
Deluge.Client.core.set_torrent_file_priorities(this.torrentId, priorities, {
onSuccess: function() {
this.update(this.torrentId);
$each(nodes, function(node) {
node.setColumnValue(3, baseItem.filePriority);
});
}.bind(this)
});
break;