From ee4065e2bcbb6b52db11dfccf157f414ad2fef15 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Tue, 9 Aug 2016 16:55:21 +0200 Subject: [PATCH] [IMP] web_tour: add in_modal option to allow checking the dom below the modal --- addons/web_tour/static/src/js/tour_manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_tour/static/src/js/tour_manager.js b/addons/web_tour/static/src/js/tour_manager.js index 045625208b7..f53a28e8177 100644 --- a/addons/web_tour/static/src/js/tour_manager.js +++ b/addons/web_tour/static/src/js/tour_manager.js @@ -212,7 +212,7 @@ return core.Class.extend({ }, _check_for_tooltip: function (tip, tour_name) { var $trigger; - if (this.$modal_displayed.length) { + if (tip.in_modal !== false && this.$modal_displayed.length) { $trigger = this.$modal_displayed.find(tip.trigger); } else { $trigger = $(tip.trigger);