[FIX] oe_loading not append at the right place
authorSimon Lejeune <sle@openerp.com>
Fri, 27 Jun 2014 13:00:51 +0000 (15:00 +0200)
committerSimon Lejeune <sle@openerp.com>
Fri, 27 Jun 2014 13:00:51 +0000 (15:00 +0200)
addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass
addons/web/static/src/js/chrome.js

index 32db9d5..fde10e2 100644 (file)
 }
 .openerp .oe_loading {
   display: none;
-  z-index: 100;
+  z-index: 1001;
   position: fixed;
   top: 0;
   right: 50%;
index b4023e8..8c3e817 100644 (file)
@@ -667,7 +667,7 @@ $sheet-padding: 16px
     // Loading {{{
     .oe_loading
         display: none
-        z-index: 100
+        z-index: 1001
         position: fixed
         top: 0
         right: 50%
index e53c8f0..f21cfbc 100644 (file)
@@ -1150,7 +1150,7 @@ instance.web.Client = instance.web.Widget.extend({
         self.notification = new instance.web.Notification(this);
         self.notification.appendTo(self.$el);
         self.loading = new instance.web.Loading(self);
-        self.loading.appendTo(self.$el);
+        self.loading.appendTo(self.$('.openerp_webclient_container'));
         self.action_manager = new instance.web.ActionManager(self);
         self.action_manager.appendTo(self.$('.oe_application'));
     },