Commit 4339a0b4 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix bug with IE & autoresize when editor is initially hidden (bug #654963)


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 93f8e493
......@@ -79,6 +79,8 @@ addLoadEvent(function () {
}
removeElementClass('add_feedback_form', 'js-hidden');
removeElementClass('add_feedback_form', 'hidden');
tinymce.EditorManager.get('add_feedback_form_message').plugins.autoresize.autoresize_min_height = 120;
tinymce.EditorManager.get('add_feedback_form_message').execCommand('mceAutoResize');
// IE6 fails to hide tinymce properly after feedback
// submission, so force it to reload the page by disconnecting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment