From 09671949ea7102a22c84cdefb18471065d3f95a8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 16 Dec 2016 16:26:37 +0300 Subject: [PATCH] Bug 20101. Bug with hiding tooltips for disabled split buttons (after timout only). --- apps/common/main/lib/component/Button.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/component/Button.js b/apps/common/main/lib/component/Button.js index 3f251628c..7c52029dd 100644 --- a/apps/common/main/lib/component/Button.js +++ b/apps/common/main/lib/component/Button.js @@ -430,10 +430,11 @@ define([ isGroup && decorateBtn(el.children('button')); } - if (disabled) { + if (disabled || !Common.Utils.isGecko) { var tip = this.cmpEl.data('bs.tooltip'); if (tip) { - tip.hide(); + disabled && tip.hide(); + !Common.Utils.isGecko && (tip.enabled = !disabled); } } }