update the view menu's show entries (breaks info panel)
This commit is contained in:
parent
56ffec0212
commit
883e9d58e6
13 changed files with 110 additions and 111 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue