From bef7ef96200769e8700aa969b097f05cce02d191 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 23 Jul 2012 15:59:37 +0200 Subject: [PATCH] [IMP] Modified loading message bzr revid: nicolas.vanhoren@openerp.com-20120723135937-3tuwpzdhn3311mg1 --- addons/web/static/src/js/chrome.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 38bcfef3e05..047a4a80e0d 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -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 {