summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome/loading.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-06-15 10:15:27 +0200
committerChristophe Simonis <chs@odoo.com>2018-06-15 10:15:27 +0200
commitb170a753e18c96f59e8c99a4e1750a4b85628338 (patch)
tree13c365d5e3db51e3b94def4e88968170743ce7ae /addons/web/static/src/js/chrome/loading.js
parenta3c9c286cc46e03040e954f7872ade3555d98ad9 (diff)
parentb05e4d5f958892a9ff644b28a4ee165aeb2ea247 (diff)
[MERGE] forward port branch 11.0 up to b05e4d5f958
Diffstat (limited to 'addons/web/static/src/js/chrome/loading.js')
-rw-r--r--addons/web/static/src/js/chrome/loading.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/js/chrome/loading.js b/addons/web/static/src/js/chrome/loading.js
index 0c1b5e5025f..6c7f102231b 100644
--- a/addons/web/static/src/js/chrome/loading.js
+++ b/addons/web/static/src/js/chrome/loading.js
@@ -26,9 +26,9 @@ var Loading = Widget.extend({
this._super(parent);
this.count = 0;
this.blocked_ui = false;
- session.on("request", this, this.request_call);
- session.on("response", this, this.response_call);
- session.on("response_failed", this, this.response_call);
+ 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);
},
destroy: function() {
this.on_rpc_event(-this.count);