close parent menus on click
This commit is contained in:
parent
c11108bded
commit
93432f2fe7
|
@ -2138,6 +2138,9 @@ requires
|
||||||
function click() {
|
function click() {
|
||||||
if (!that.hasClass("OxDisabled") && !self.options.items.length) {
|
if (!that.hasClass("OxDisabled") && !self.options.items.length) {
|
||||||
self.options.menu.hideMenu();
|
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)) {
|
if (self.options.checked !== null && (!self.options.group || !self.options.checked)) {
|
||||||
that.options({
|
that.options({
|
||||||
checked: !self.options.checked
|
checked: !self.options.checked
|
||||||
|
|
Loading…
Reference in New Issue
Block a user