summaryrefslogtreecommitdiff
path: root/addons/website_gengo/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_gengo/static/src')
-rw-r--r--addons/website_gengo/static/src/js/website_gengo.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website_gengo/static/src/js/website_gengo.js b/addons/website_gengo/static/src/js/website_gengo.js
index a1755ed1290..4b7d9c34b4f 100644
--- a/addons/website_gengo/static/src/js/website_gengo.js
+++ b/addons/website_gengo/static/src/js/website_gengo.js
@@ -1,6 +1,11 @@
(function () {
'use strict';
+ if (!openerp.website.translatable) {
+ // Temporary hack until the editor bar is moved to the web client
+ return;
+ }
+
var website = openerp.website;
website.add_template_file('/website_gengo/static/src/xml/website.gengo.xml');