summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-28 15:35:07 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-28 15:35:07 +0200
commit8763170d224408bb01998d0a3393d2eacfc781ad (patch)
tree26af945304fc7405a686d3785d7ad01cfddb122d /program
parentf56e70bd049bde916c368f3f79df702a73ad63db (diff)
TinyMCE4: small improvements
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)));