Module: deluge
Branch: master
Commit: c1bf8c1da12ad72e7779beff1272d07a0089b5df

Author: Damien Churchill <[email protected]>
Date:   Tue Mar  9 23:32:12 2010 +0000

update the sort after an update

---

 deluge/ui/web/js/deluge-all/Deluge.Torrents.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js 
b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js
index b9b87aa..8c10bcd 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);
        },
 

-- 
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.

Reply via email to