diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 3aa3e6042ee..8804de96d34 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1107,12 +1107,13 @@ openerp.web.WebClient = openerp.web.OldWidget.extend(/** @lends openerp.web.WebC self.menu.start(); }, show_common: function() { - var self = this; - self.crashmanager = new openerp.web.CrashManager(); - self.notification = new openerp.web.Notification(self); - self.notification.appendTo(self.$element); - self.loading = new openerp.web.Loading(self); - self.loading.appendTo(self.$element); + if (this.initialized_common) { return; } + this.initialized_common = true; + 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); + this.loading.appendTo(this.$element); }, destroy_content: function() { _.each(_.clone(this.widget_children), function(el) {