From 100f4c2e9f56ab16c1ef6c6d252240bf900a809a Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 2 Apr 2009 07:15:16 +0000 Subject: [PATCH] set the column values on a successful request instead of being lazy and just triggering an update --- deluge/ui/web/js/deluge-details.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deluge/ui/web/js/deluge-details.js b/deluge/ui/web/js/deluge-details.js index eb3602478..948b96923 100644 --- a/deluge/ui/web/js/deluge-details.js +++ b/deluge/ui/web/js/deluge-details.js @@ -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;