diff --git a/apps/common/main/lib/component/Button.js b/apps/common/main/lib/component/Button.js index 466baed30..bfca59fcd 100644 --- a/apps/common/main/lib/component/Button.js +++ b/apps/common/main/lib/component/Button.js @@ -613,13 +613,13 @@ define([ var tip = this.btnEl.data('bs.tooltip'); if (tip) { disabled && tip.hide(); - !Common.Utils.isGecko && (tip.enabled = !disabled); + !Common.Utils.isGecko && (!disabled ? tip.enable() : tip.disable()); } if (this.btnMenuEl) { tip = this.btnMenuEl.data('bs.tooltip'); if (tip) { disabled && tip.hide(); - !Common.Utils.isGecko && (tip.enabled = !disabled); + !Common.Utils.isGecko && (!disabled ? tip.enable() : tip.disable()); } } } @@ -727,13 +727,13 @@ define([ var tip = this.btnEl.data('bs.tooltip'); if (tip) { this.disabled && tip.hide(); - !Common.Utils.isGecko && (tip.enabled = !this.disabled); + !Common.Utils.isGecko && (!this.disabled ? tip.enable() : tip.disable()); } if (this.btnMenuEl) { tip = this.btnMenuEl.data('bs.tooltip'); if (tip) { this.disabled && tip.hide(); - !Common.Utils.isGecko && (tip.enabled = !this.disabled); + !Common.Utils.isGecko && (!this.disabled ? tip.enable() : tip.disable()); } } } diff --git a/apps/common/main/lib/component/ComboBorderSize.js b/apps/common/main/lib/component/ComboBorderSize.js index 5ce6c83e8..0d286ddb4 100644 --- a/apps/common/main/lib/component/ComboBorderSize.js +++ b/apps/common/main/lib/component/ComboBorderSize.js @@ -226,10 +226,10 @@ define([ '
', '
', '
', - '', + '', '