mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Hide button menu when button is disabled
This commit is contained in:
@ -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) ) {
|
||||
|
||||
Reference in New Issue
Block a user