summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2011-11-02 11:05:11 +0100
committerChristophe Simonis <chs@openerp.com>2011-11-02 11:05:11 +0100
commit6f91e87f8cf55a4ba79809b697dbdd575f05677a (patch)
treebe2fb5fe025623049064cb234f09fdd9d3c19671 /addons/web/static
parent6f899d86c010300295dc64977849e87f67b93731 (diff)
[FIX] correct CrashManager
bzr revid: chs@openerp.com-20111102100511-f58vlgnv12cti8ry
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/js/chrome.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index 27f0188e355..c8ebbb2b12a 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -138,6 +138,7 @@ openerp.web.Dialog = openerp.web.OldWidget.extend(/** @lends openerp.web.Dialog#
openerp.web.CrashManager = openerp.web.CallbackEnabled.extend({
init: function() {
+ this._super();
openerp.connector.on_rpc_error.add(this.on_rpc_error);
},
on_rpc_error: function(error) {
@@ -951,7 +952,7 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie
this.notification = new openerp.web.Notification();
this.loading = new openerp.web.Loading(this,"oe_loading");
- this.crashmanager = new openerp.web.CrashManager(this);
+ this.crashmanager = new openerp.web.CrashManager();
this.header = new openerp.web.Header(this);
this.login = new openerp.web.Login(this);