Christophe (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-loading-cursor-chs into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-loading-cursor-chs/+merge/79231
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-loading-cursor-chs/+merge/79231
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-loading-cursor-chs.
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css	2011-10-11 13:44:17 +0000
+++ addons/web/static/src/css/base.css	2011-10-13 09:24:25 +0000
@@ -40,6 +40,9 @@
 }
 
 /* Loading */
+.loading {
+    cursor: wait;
+}
 .openerp .loading {
     display: none;
     z-index: 100;

=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js	2011-10-13 08:14:45 +0000
+++ addons/web/static/src/js/chrome.js	2011-10-13 09:24:25 +0000
@@ -194,8 +194,10 @@
             //this.$element.html(QWeb.render("Loading", {}));
             this.$element.html("Loading ("+this.count+")");
             this.$element.show();
+            this.widget_parent.$element.addClass('loading');
         } else {
             this.$element.fadeOut();
+            this.widget_parent.$element.removeClass('loading');
         }
     }
 });

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to