forked from 0x2620/pandora
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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue