summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome/loading.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/chrome/loading.js')
-rw-r--r--addons/web/static/src/js/chrome/loading.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/chrome/loading.js b/addons/web/static/src/js/chrome/loading.js
index 6c7f102231b..865aa081bf0 100644
--- a/addons/web/static/src/js/chrome/loading.js
+++ b/addons/web/static/src/js/chrome/loading.js
@@ -26,6 +26,8 @@ var Loading = Widget.extend({
this._super(parent);
this.count = 0;
this.blocked_ui = false;
+ },
+ start: function() {
core.bus.on('rpc_request', this, this.request_call);
core.bus.on("rpc_response", this, this.response_call);
core.bus.on("rpc_response_failed", this, this.response_call);