From 03ea778babc020c75343a05947012c172e52b842 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 27 Aug 2010 12:26:00 +0000 Subject: - 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 --- roundcubemail/program/js/editor.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roundcubemail/program') 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 -- cgit v1.2.3