close parent menus on click
This commit is contained in:
parent
ba1eb02047
commit
fa6948dcf2
1 changed files with 3 additions and 0 deletions
|
@ -2138,6 +2138,9 @@ requires
|
|||
function click() {
|
||||
if (!that.hasClass("OxDisabled") && !self.options.items.length) {
|
||||
self.options.menu.hideMenu();
|
||||
if (self.options.menu.options("parent")) {
|
||||
self.options.menu.options("parent").hideMenu();
|
||||
}
|
||||
if (self.options.checked !== null && (!self.options.group || !self.options.checked)) {
|
||||
that.options({
|
||||
checked: !self.options.checked
|
||||
|
|
Loading…
Reference in a new issue