[IMP] Modified loading message

bzr revid: nicolas.vanhoren@openerp.com-20120723135937-3tuwpzdhn3311mg1
This commit is contained in:
niv-openerp
2012-07-23 15:59:37 +02:00
parent 071dce2cb9
commit bef7ef9620
+5 -1
View File
@@ -263,7 +263,11 @@ instance.web.Loading = instance.web.Widget.extend({
this.count += increment;
if (this.count > 0) {
this.$element.text(_.str.sprintf( _t("Loading (%d)"), this.count));
if (instance.connection.debug) {
this.$element.text(_.str.sprintf( _t("Loading (%d)"), this.count));
} else {
this.$element.text(_t("Loading"));
}
this.$element.show();
this.getParent().$element.addClass('oe_wait');
} else {