summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/web_client.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-06-19 16:03:01 +0200
committerGéry Debongnie <ged@odoo.com>2015-06-23 10:08:47 +0200
commitc104aae25838c76dd1a133b2c7f0b10663c96684 (patch)
treeda909b5b898932954d42747ed9c9c0f56307139b /addons/web/static/src/js/web_client.js
parent10f4ed2f74988e3704ee2d83954bebc504e7bfe8 (diff)
[FIX] web: patch community client to use css
this change allows every addons to convert their css to use the o_web_client class, which works in enterprise edition.
Diffstat (limited to 'addons/web/static/src/js/web_client.js')
-rw-r--r--addons/web/static/src/js/web_client.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/web_client.js b/addons/web/static/src/js/web_client.js
index f1939406c9e..c6fd30d6c13 100644
--- a/addons/web/static/src/js/web_client.js
+++ b/addons/web/static/src/js/web_client.js
@@ -48,6 +48,7 @@ var WebClient = Widget.extend({
this.toggle_bars.apply(this, arguments);
});
+ document.body.classList.add('o_web_client');
return session.session_bind(this.origin).then(function() {
self.bind_events();
return self.show_common();