(js) Set locale to CKEditor in Mail editor

This commit is contained in:
Francis Lachapelle
2015-08-06 16:09:49 -04:00
parent e6c9289784
commit d0d79728d2
2 changed files with 2 additions and 0 deletions

View File

@@ -168,6 +168,7 @@
<!-- MESSAGE CONTENT -->
<textarea name="content" var:class="editorClass"
ck-locale="editor.localeCode"
ng-model="editor.message.editable.text"/>
<!-- TOOLBAR BUTTONS -->

View File

@@ -104,6 +104,7 @@
Preferences.ready().then(function() {
if (Preferences.defaults.SOGoMailAutoSave)
vm.autosave = $timeout(vm.autosaveDrafts, Preferences.defaults.SOGoMailAutoSave*1000*60);
vm.localeCode = Preferences.defaults.LocaleCode;
});
}