[IMP] only protect crashmanager creation as other children are destroyed and recreated every time
bzr revid: xmo@openerp.com-20120127164332-4mw5pxzoep0newgo
This commit is contained in:
@@ -1107,9 +1107,9 @@ openerp.web.WebClient = openerp.web.OldWidget.extend(/** @lends openerp.web.WebC
|
||||
self.menu.start();
|
||||
},
|
||||
show_common: function() {
|
||||
if (this.initialized_common) { return; }
|
||||
this.initialized_common = true;
|
||||
this.crashmanager = new openerp.web.CrashManager();
|
||||
if (!this.crashmanager) {
|
||||
this.crashmanager = new openerp.web.CrashManager();
|
||||
}
|
||||
this.notification = new openerp.web.Notification(this);
|
||||
this.notification.appendTo(this.$element);
|
||||
this.loading = new openerp.web.Loading(this);
|
||||
|
||||
Reference in New Issue
Block a user