summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/editor.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index 91e8c6d75..6cd68ccaf 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -49,7 +49,6 @@ function rcmail_editor_init(config)
+ ' | bullist numlist outdent indent ltr rtl blockquote | forecolor backcolor | fontselect fontsizeselect'
+ ' | link unlink table | emoticons charmap image media | code searchreplace undo redo',
spellchecker_rpc_url: '../../../../../?_task=utils&_action=spell_html&_remote=1',
- spellchecker_enable_learn_rpc: config.spelldict, //TODO
spellchecker_language: rcmail.env.spell_lang,
accessibility_focus: false,
file_browser_callback: rcmail_file_browser_callback,
@@ -182,7 +181,7 @@ function rcmail_file_browser_callback(field_name, url, type, win)
}
// add hint about max file size (in dialog footer)
- $('div.mce-abs-end', dialog.getEl()).append($('<div class="hint">').text($('#uploadform div.hint').text()));
+ $('div.mce-abs-end', dialog.getEl()).append($('<div class="hint">').text($('div.hint', rcmail.gui_objects.uploadform).text()));
// enable (smart) upload button
elem = $('#image-upload-button').append($('<span>').text(rcmail.gettext('add' + type)));