diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-05 07:16:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-05 07:16:46 +0000 |
| commit | b9046b61b2f48ba2103553867fc54ee1677551f5 (patch) | |
| tree | 466218d0206c1fb152c4cae70e623d1508b40bb0 | |
| parent | 098e18592f103851865dd784858bc7bebffdae75 (diff) | |
- Fix for Konqueror
git-svn-id: https://svn.roundcube.net/trunk@4037 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index 85cf68a4d..d3e587b75 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/program/js/editor.js @@ -68,7 +68,7 @@ function rcmail_editor_callback() if (elem && elem.type=='select-one') { rcmail.change_identity(elem); // Focus previously focused element - if (rcmail.env.compose_focus_elem.id != rcmail.env.composebody) + if (rcmail.env.compose_focus_elem && rcmail.env.compose_focus_elem.id != rcmail.env.composebody) rcmail.env.compose_focus_elem.focus(); } // set tabIndex and set focus to element that was focused before |
