update the view menu's show entries (breaks info panel)

This commit is contained in:
rolux 2011-10-13 10:12:00 +00:00
commit 883e9d58e6
13 changed files with 110 additions and 111 deletions

View file

@ -45,12 +45,14 @@ pandora.ui.leftPanel = function() {
},
toggle: function(data) {
pandora.UI.set({showSidebar: !data.collapsed});
pandora.$ui.mainMenu.getItem('viewMenu_togglelists').toggleTitle();
if (data.collapsed) {
Ox.forEach(pandora.$ui.folderList, function($list) {
$list.loseFocus();
});
}
},
pandora_showinfo: function(data) {
data.value == that.options('elements')[1].collapsed && that.toggle(1);
}
});
return that;