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
commit 100f4c2e9f

View file

@ -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;