From bdd0f7a17c0c637b9523ef41ceab4e54bf026acf Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 3 Jan 2011 14:19:04 +0000 Subject: [PATCH] remember groups size after item view --- static/js/pandora.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 2ce50de8..7acec789 100755 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -541,12 +541,13 @@ var pandora = new Ox.App({ }) .bindEvent({ resize: function(event, data) { - Ox.print('resizing groups...') + app.user.ui.groupsSize = data; $.each(app.$ui.groups, function(i, list) { list.size(); }); }, toggle: function(event, data) { + app.user.ui.showGroups = !data.collapsed; data.collapsed && app.$ui.list.gainFocus(); } });