[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:
parent
6740cdaff5
commit
7c751e9243
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue