remember groups size after item view

This commit is contained in:
rlx 2011-01-03 14:19:04 +00:00
parent 56f819da78
commit bda6a52106

View file

@ -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();
}
});