summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2015-02-12 11:39:53 +0100
committerJeremy Kersten <jke@odoo.com>2015-02-12 11:57:01 +0100
commit7c751e92436c9546fb01d71ea142322efd268cda (patch)
tree00b805fe37e8f20e135c28ab5bbe6abc5ec4fbdc /addons/web/static/src/js
parent6740cdaff56e653a21dfa1e189cc265076d8f6b0 (diff)
[FIX] web: insert notification container into the .openerp container
During the refactoring of the web client, the self.$el has been changed from .openerp to body, so the notification was no more into the .openerp container. Custom css (eg .highlight) was no more applicated.
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/chrome.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index b18debb1d96..fc40b1e7bf2 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -1172,7 +1172,7 @@ instance.web.Client = instance.web.Widget.extend({
this.crashmanager = new instance.web.CrashManager();
instance.session.on('error', this.crashmanager, this.crashmanager.rpc_error);
self.notification = new instance.web.Notification(this);
- self.notification.appendTo(self.$el);
+ self.notification.appendTo(self.$el.find('.openerp'));
self.loading = new instance.web.Loading(self);
self.loading.appendTo(self.$('.openerp_webclient_container'));
self.action_manager = new instance.web.ActionManager(self);