diff --git a/addons/web_tour/static/src/js/running_tour_action_helper.js b/addons/web_tour/static/src/js/running_tour_action_helper.js index 794f346e750..a034d506622 100644 --- a/addons/web_tour/static/src/js/running_tour_action_helper.js +++ b/addons/web_tour/static/src/js/running_tour_action_helper.js @@ -28,6 +28,9 @@ var RunningTourActionHelper = core.Class.extend({ text: function (text, element) { this._text(this._get_action_values(element), text); }, + text_blur: function (text, element) { + this._text_blur(this._get_action_values(element), text); + }, drag_and_drop: function (to, element) { this._drag_and_drop(this._get_action_values(element), to); }, @@ -106,6 +109,11 @@ var RunningTourActionHelper = core.Class.extend({ } values.$element.trigger("change"); }, + _text_blur: function (values, text) { + this._text(values, text); + values.$element.trigger('focusout'); + values.$element.trigger('blur'); + }, _drag_and_drop: function (values, to) { var $to; if (to) {