Bug 20101. Bug with hiding tooltips for disabled split buttons (after timout only).

This commit is contained in:
Julia Radzhabova 2016-12-16 16:26:37 +03:00
parent cb05587be1
commit 09671949ea

View file

@ -430,10 +430,11 @@ define([
isGroup && decorateBtn(el.children('button')); isGroup && decorateBtn(el.children('button'));
} }
if (disabled) { if (disabled || !Common.Utils.isGecko) {
var tip = this.cmpEl.data('bs.tooltip'); var tip = this.cmpEl.data('bs.tooltip');
if (tip) { if (tip) {
tip.hide(); disabled && tip.hide();
!Common.Utils.isGecko && (tip.enabled = !disabled);
} }
} }
} }