summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/editor.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-08-27 12:26:00 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-08-27 12:26:00 +0000
commit03ea778babc020c75343a05947012c172e52b842 (patch)
treedc2ce2f049601cce3ac3a3e06fa4a8b3c8f11a1f /roundcubemail/program/js/editor.js
parent1c606f219f28a4f6c2d792e5391b1d39999bac63 (diff)
- Fix TinyMCE buttons are hidden in Opera (#1486922)
- Fix initial resizing of html editor in some browsers git-svn-id: https://svn.roundcube.net/trunk@3911 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/editor.js')
-rw-r--r--roundcubemail/program/js/editor.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js
index 248c79476..6cf3c6aaf 100644
--- a/roundcubemail/program/js/editor.js
+++ b/roundcubemail/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