summaryrefslogtreecommitdiff
path: root/addons/website_gengo/static/src
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2014-04-25 14:49:13 +0200
committerFabien Meghazi <fme@openerp.com>2014-04-25 14:49:13 +0200
commiteae846f2c8f3ec9a84b38dcfe75b61b3107e438e (patch)
treea6102b5bb7096ff3e1160daa12cd659bbaf005a7 /addons/website_gengo/static/src
parent4f16d15120237c992ddd12ed69645798ca3157fd (diff)
[FIX] remove @translatable conditions and de-activate group_website_designer specifics
Bundlification (and later merge of editor and web client) can't work with conditional script inclusion bzr revid: fme@openerp.com-20140425124913-9jsfhbfhoq6j6xxl
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');