summaryrefslogtreecommitdiff
path: root/addons/web_tour/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_tour/static/src/js')
-rw-r--r--addons/web_tour/static/src/js/tour_manager.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web_tour/static/src/js/tour_manager.js b/addons/web_tour/static/src/js/tour_manager.js
index 6e3ebff46e7..969f2dd66a0 100644
--- a/addons/web_tour/static/src/js/tour_manager.js
+++ b/addons/web_tour/static/src/js/tour_manager.js
@@ -105,7 +105,7 @@ return core.Class.extend(mixins.EventDispatcherMixin, ServicesMixin, {
return self._waitBeforeTourStart().then(function () {
return Promise.all(_.map(self.tours, function (tour, name) {
return self._register(do_update, tour, name);
- }));
+ })).then(() => self.update());
});
},
_register: function (do_update, tour, name) {
@@ -128,7 +128,6 @@ return core.Class.extend(mixins.EventDispatcherMixin, ServicesMixin, {
if (do_update && (this.running_tour === name || (!this.running_tour && !tour.test && !tour_is_consumed))) {
this._to_next_step(name, 0);
- this.update(name);
}
}).bind(this));
},