[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) <rde@odoo.com>
This commit is contained in:
Tom De Caluwé
2021-10-08 16:08:48 +00:00
parent 7eb742f6b8
commit 6b89bf62be
@@ -164,7 +164,7 @@ function clickOnText(snippet, element, position = "bottom") {
content: Markup(_t("<b>Click on a text</b> to start editing it.")),
position: position,
run: "text",
consumeEvent: "input",
consumeEvent: "click",
};
}