fixed multilevel collapse for child treeview menu

pull/2155/head
REJack 5 years ago
parent 070193e486
commit 639fa9e923
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888

@ -95,6 +95,9 @@
tree.slideUp(this.options.animationSpeed, function () {
//tree.find(Selector.open + ' > ' + Selector.treeview).slideUp();
$(this.element).trigger(collapsedEvent);
// Collapse child items
parentLi.find(Selector.treeview).removeClass(ClassName.open).find(Selector.treeviewMenu).hide();
}.bind(this));
};

@ -911,6 +911,9 @@ throw new Error('AdminLTE requires jQuery')
tree.slideUp(this.options.animationSpeed, function () {
//tree.find(Selector.open + ' > ' + Selector.treeview).slideUp();
$(this.element).trigger(collapsedEvent);
// Collapse child items
parentLi.find(Selector.treeview).removeClass(ClassName.open).find(Selector.treeviewMenu).hide();
}.bind(this));
};

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save