From 6b89bf62bebfdd0a40ca94918c747787968ac906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20De=20Caluw=C3=A9?= Date: Mon, 4 Oct 2021 12:36:01 +0000 Subject: [PATCH] [IMP] website: finish a text edit step in a tour when clicked The idea of a text edit step is considered clearly communicated to the end user from the moment the trigger is clicked ( as opposed to the step waiting for actual input from the end user). This way an end user can finish the tour faster without actually having prepared custom text content yet. task-2580338 closes odoo/odoo#77720 Signed-off-by: Romain Derie (rde) --- addons/website/static/src/js/tours/tour_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/js/tours/tour_utils.js b/addons/website/static/src/js/tours/tour_utils.js index ab20fdcfb5f..7eae08107ed 100644 --- a/addons/website/static/src/js/tours/tour_utils.js +++ b/addons/website/static/src/js/tours/tour_utils.js @@ -164,7 +164,7 @@ function clickOnText(snippet, element, position = "bottom") { content: Markup(_t("Click on a text to start editing it.")), position: position, run: "text", - consumeEvent: "input", + consumeEvent: "click", }; }