[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.
This commit is contained in:
Jeremy Kersten 2015-02-12 11:39:53 +01:00
parent 6740cdaff5
commit 7c751e9243
1 changed files with 1 additions and 1 deletions

View File

@ -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);