From c1bf8c1da12ad72e7779beff1272d07a0089b5df Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 9 Mar 2010 23:32:12 +0000 Subject: [PATCH] update the sort after an update --- deluge/ui/web/js/deluge-all/Deluge.Torrents.js | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js index b9b87aa7b..8c10bcd6a 100644 --- a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js +++ b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js @@ -287,6 +287,7 @@ Copyright: store.commitChanges(); var sortState = store.getSortState() + if (!sortState) return; store.sort(sortState.field, sortState.direction); },