Hide button menu when button is disabled
This commit is contained in:
parent
e804b9dcfc
commit
d2da2ac656
|
@ -600,6 +600,9 @@ define([
|
|||
}
|
||||
}
|
||||
|
||||
if (disabled && this.menu && _.isObject(this.menu) && this.menu.rendered && this.menu.isVisible())
|
||||
this.menu.hide();
|
||||
|
||||
if ( !!me.options.signals ) {
|
||||
var opts = me.options.signals;
|
||||
if ( !(opts.indexOf('disabled') < 0) ) {
|
||||
|
|
Loading…
Reference in a new issue