[IMP] Modified loading message
bzr revid: nicolas.vanhoren@openerp.com-20120723135937-3tuwpzdhn3311mg1
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user