summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome/abstract_web_client.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/abstract_web_client.js
parenta3c9c286cc46e03040e954f7872ade3555d98ad9 (diff)
parentb05e4d5f958892a9ff644b28a4ee165aeb2ea247 (diff)
[MERGE] forward port branch 11.0 up to b05e4d5f958
Diffstat (limited to 'addons/web/static/src/js/chrome/abstract_web_client.js')
-rw-r--r--addons/web/static/src/js/chrome/abstract_web_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome/abstract_web_client.js b/addons/web/static/src/js/chrome/abstract_web_client.js
index 9fe38adbde6..9e010986061 100644
--- a/addons/web/static/src/js/chrome/abstract_web_client.js
+++ b/addons/web/static/src/js/chrome/abstract_web_client.js
@@ -169,7 +169,7 @@ var AbstractWebClient = Widget.extend(ServiceProviderMixin, {
core.bus.on('connection_restored', this, this.on_connection_restored);
// crash manager integration
- session.on('error', crash_manager, crash_manager.rpc_error);
+ core.bus.on('rpc_error', crash_manager, crash_manager.rpc_error);
window.onerror = function (message, file, line, col, error) {
// Scripts injected in DOM (eg: google API's js files) won't return a clean error on window.onerror.
// The browser will just give you a 'Script error.' as message and nothing else for security issue.