summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-27 12:26:00 +0000
committeralecpl <alec@alec.pl>2010-08-27 12:26:00 +0000
commiteb9eff07115b6b54bbd343d345189a6861e0ae78 (patch)
treee2d667b6be19c41baa03ccd0f9eb7a47918e447e /program/js
parent1fb718cae02c6929c1b31562f05eddc32ae3be17 (diff)
- Fix TinyMCE buttons are hidden in Opera (#1486922)
- Fix initial resizing of html editor in some browsers
Diffstat (limited to 'program/js')
-rw-r--r--program/js/editor.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index 248c79476..6cf3c6aaf 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -69,6 +69,8 @@ function rcmail_editor_callback(editor)
rcmail.change_identity(elem);
// set tabIndex and set focus to element that was focused before
rcmail_editor_tabindex(rcmail.env.compose_focus_elem && rcmail.env.compose_focus_elem.id == rcmail.env.composebody);
+ // Trigger resize (needed for proper editor resizing in some browsers using default skin)
+ $(window).resize();
}
// set tabIndex on tinyMCE editor