[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:
@@ -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",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user