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

@ -16,11 +16,11 @@ pandora.ui.contentPanel = function() {
}
] : [
{
collapsed: !pandora.user.ui.showMovies,
collapsed: !pandora.user.ui.showBrowser,
collapsible: true,
element: pandora.$ui.browser = pandora.ui.browser(),
size: 112 + Ox.UI.SCROLLBAR_SIZE,
tooltip: pandora.site.itemName.plural.toLowerCase()
tooltip: pandora.site.itemName.singular.toLowerCase() + ' browser'
},
{
element: pandora.$ui.item = pandora.ui.item()
@ -39,6 +39,12 @@ pandora.ui.contentPanel = function() {
},
pandora_itemview: function() {
that.replaceElement(1, pandora.$ui.item = pandora.ui.item());
},
pandora_showbrowser: function(data) {
data.value == that.options('elements')[0].collapsed && that.toggle(0);
},
pandora_showgroups: function(data) {
data.value == that.options('elements')[0].collapsed && that.toggle(0);
}
});
return that;