diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-04-25 14:49:13 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-04-25 14:49:13 +0200 |
| commit | eae846f2c8f3ec9a84b38dcfe75b61b3107e438e (patch) | |
| tree | a6102b5bb7096ff3e1160daa12cd659bbaf005a7 /addons/website/static/src/js/website.translator.js | |
| parent | 4f16d15120237c992ddd12ed69645798ca3157fd (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/static/src/js/website.translator.js')
| -rw-r--r-- | addons/website/static/src/js/website.translator.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.translator.js b/addons/website/static/src/js/website.translator.js index e88b1e4a6b6..5f0921abb3d 100644 --- a/addons/website/static/src/js/website.translator.js +++ b/addons/website/static/src/js/website.translator.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/static/src/xml/website.translator.xml'); var nodialog = 'website_translator_nodialog'; |
