From f825e8996ae19c797570bbcc50a64aaf0103ee90 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 9 Mar 2010 23:26:54 +0000 Subject: [PATCH] update the sort after an update --- deluge/ui/web/js/deluge-all/Deluge.Torrents.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js index 6fb478b36..b9b87aa7b 100644 --- a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js +++ b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js @@ -285,6 +285,9 @@ Copyright: } }); store.commitChanges(); + + var sortState = store.getSortState() + store.sort(sortState.field, sortState.direction); }, // private