(js) Fix SCAYT automatic language selection

This commit is contained in:
Francis Lachapelle
2017-03-07 15:13:04 -05:00
parent 2428c3cb3d
commit 8c7a2cb2eb
4 changed files with 21 additions and 2 deletions

View File

@@ -533,7 +533,8 @@ function initMailEditor() {
CKEDITOR.replace('text',
{
language : localeCode,
scayt_sLang : localeCode
scayt_disableOptionsStorage : 'lang',
scayt_sLang : scaytLang(localeCode)
}
);
CKEDITOR.on('instanceReady', function(event) {