Author: damoxc
Revision: 4977
Log:
set the column values on a successful request instead of being lazy and
just triggering an update
Diff:
Modified: trunk/deluge/ui/web/js/deluge-details.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-details.js 2009-04-02 07:14:03 UTC (rev
4976)
+++ trunk/deluge/ui/web/js/deluge-details.js 2009-04-02 07:15:16 UTC (rev
4977)
@@ -246,7 +246,9 @@
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;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---