summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-02-02 14:44:39 +0100
committerChristophe Simonis <chs@odoo.com>2016-02-02 14:44:39 +0100
commite765569d04766ca005484c4746faeb08bd917446 (patch)
treec982aaf44d13766003c3285d65f03183f94e0bce /addons/web/static/src/js
parent986da5416c6887128bb6c93bdab0a30df30144ec (diff)
parentf0a63e591380642a105b7325aa29cd82a2966cda (diff)
[MERGE] forward port of branch 9.0 up to f0a63e5
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/framework/misc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/framework/misc.js b/addons/web/static/src/js/framework/misc.js
index fd6bb6d6288..25e80c33e84 100644
--- a/addons/web/static/src/js/framework/misc.js
+++ b/addons/web/static/src/js/framework/misc.js
@@ -93,12 +93,14 @@ function blockUI () {
var throbber = new Throbber();
throbbers.push(throbber);
throbber.appendTo($(".oe_blockui_spin_container"));
+ $('body').addClass('o_ui_blocked');
return tmp;
}
function unblockUI () {
_.invoke(throbbers, 'destroy');
throbbers = [];
+ $('body').removeClass('o_ui_blocked');
return $.unblockUI.apply($, arguments);
}