diff options
| author | Christophe Monniez <moc@odoo.com> | 2019-03-14 10:53:15 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2019-03-14 10:59:49 +0000 |
| commit | 9450469a1cab1a111ff310fd69f854e000133d90 (patch) | |
| tree | 87e95b3d92a644391a6c91d1d02a7cbf70091d05 /addons/website_event/static/src | |
| parent | bef385d3d116a5496e51b8bee90c3eb18df24e49 (diff) | |
[FIX] website_event: wait drag and drop to be finished
During the event tour, the save button is clicked before the drag and
drop is finished and cause an uncaught exception.
With this commit, an extra trigger is used to check the presence of the
dirty flag that is set when the page is changed and is ready to be
saved.
Diffstat (limited to 'addons/website_event/static/src')
| -rw-r--r-- | addons/website_event/static/src/js/website.tour.event.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_event/static/src/js/website.tour.event.js b/addons/website_event/static/src/js/website.tour.event.js index d84eb8522ee..8e693c9ef8e 100644 --- a/addons/website_event/static/src/js/website.tour.event.js +++ b/addons/website_event/static/src/js/website.tour.event.js @@ -30,6 +30,7 @@ odoo.define("website_event.tour", function (require) { trigger: "button[data-action=save]", content: _t("Once you click on save, your event is updated."), position: "bottom", + extra_trigger: ".o_dirty", }, { trigger: ".js_publish_management .js_publish_btn", extra_trigger: "body:not(.editor_enable)", |
