summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-09-13 15:55:32 +0200
committerXavier Morel <xmo@openerp.com>2013-09-13 15:55:32 +0200
commitba99ab56c842542fdcf86daa05c3c2e13aaf3d2f (patch)
treea0ad849beb9707bd1384a21d8a719aa448c0156a /addons/website/static/src/js/website.editor.js
parent9cba34b53884a1cc684c7a25a8a42645fb97190e (diff)
[FIX] force ckeditor lang to en and replace en-gb localization file with en
avoids automatic locale picking selecting something different than the one locale file currently provided and blowing up, preventing edition from working bzr revid: xmo@openerp.com-20130913135532-szra08zdge1ktmc7
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
-rw-r--r--addons/website/static/src/js/website.editor.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js
index 5a8801bba38..e9ec06859d0 100644
--- a/addons/website/static/src/js/website.editor.js
+++ b/addons/website/static/src/js/website.editor.js
@@ -315,6 +315,8 @@
'magicline'
];
return {
+ // FIXME
+ language: 'en',
// Disable auto-generated titles
// FIXME: accessibility, need to generate user-sensible title, used for @title and @aria-label
title: false,