toggleElement

This commit is contained in:
j 2014-09-23 23:56:11 +02:00
parent a266c518b7
commit 32a558c48d
2 changed files with 3 additions and 3 deletions

View File

@ -49,10 +49,10 @@ pandora.ui.contentPanel = function() {
!pandora.user.ui.item && that.replaceElement(1, pandora.$ui.list = pandora.ui.list());
},
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) {
data.value == that.options('elements')[0].collapsed && that.toggle(0);
data.value == that.options('elements')[0].collapsed && that.toggleElement(0);
}
});
return that;

View File

@ -381,7 +381,7 @@ pandora.ui.documentsPanel = function(options) {
$listPanel.replaceElement(1, $list = renderList());
},
pandora_showdocument: function(data) {
isItemView && that.toggle(1);
isItemView && that.toggleElement(1);
}
});