From 6f91e87f8cf55a4ba79809b697dbdd575f05677a Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 2 Nov 2011 11:05:11 +0100 Subject: [PATCH] [FIX] correct CrashManager bzr revid: chs@openerp.com-20111102100511-f58vlgnv12cti8ry --- addons/web/static/src/js/chrome.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);