From 226c5ed2ec81f7e8f0ef83018b53639bbdc8fe92 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 23 May 2017 15:05:15 +0300 Subject: [PATCH] Show tooltip on combobox in the modal windows (DropCapSettings). --- apps/common/main/lib/component/ComboBox.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/common/main/lib/component/ComboBox.js b/apps/common/main/lib/component/ComboBox.js index d24a0181c..b250ce10f 100644 --- a/apps/common/main/lib/component/ComboBox.js +++ b/apps/common/main/lib/component/ComboBox.js @@ -188,6 +188,11 @@ define([ title : me.options.hint, placement : me.options.hintAnchor||'cursor' }); + + var modalParents = el.closest('.asc-window'); + if (modalParents.length > 0) { + el.data('bs.tooltip').tip().css('z-index', parseInt(modalParents.css('z-index')) + 10); + } } el.on('show.bs.dropdown', _.bind(me.onBeforeShowMenu, me));