toggleElement

This commit is contained in:
j 2014-09-25 13:39:05 +02:00
commit 4c01423d65
5 changed files with 8 additions and 8 deletions

View file

@ -24,10 +24,10 @@ oml.ui.mainPanel = function() {
})
.bindEvent({
oml_showsidebar: function(data) {
data.value == that.options('elements')[0].collapsed && that.toggle(0);
data.value == that.options('elements')[0].collapsed && that.toggleElement(0);
}
});
return that;
};
};