forked from 0x2620/pandora
toggleElement
This commit is contained in:
parent
a266c518b7
commit
32a558c48d
2 changed files with 3 additions and 3 deletions
|
@ -49,10 +49,10 @@ pandora.ui.contentPanel = function() {
|
||||||
!pandora.user.ui.item && that.replaceElement(1, pandora.$ui.list = pandora.ui.list());
|
!pandora.user.ui.item && that.replaceElement(1, pandora.$ui.list = pandora.ui.list());
|
||||||
},
|
},
|
||||||
pandora_showbrowser: function(data) {
|
pandora_showbrowser: function(data) {
|
||||||
data.value == that.options('elements')[0].collapsed && that.toggle(0);
|
data.value == that.options('elements')[0].collapsed && that.toggleElement(0);
|
||||||
},
|
},
|
||||||
pandora_showfilters: function(data) {
|
pandora_showfilters: function(data) {
|
||||||
data.value == that.options('elements')[0].collapsed && that.toggle(0);
|
data.value == that.options('elements')[0].collapsed && that.toggleElement(0);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return that;
|
return that;
|
||||||
|
|
|
@ -381,7 +381,7 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
$listPanel.replaceElement(1, $list = renderList());
|
$listPanel.replaceElement(1, $list = renderList());
|
||||||
},
|
},
|
||||||
pandora_showdocument: function(data) {
|
pandora_showdocument: function(data) {
|
||||||
isItemView && that.toggle(1);
|
isItemView && that.toggleElement(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue