diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-16 08:27:58 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-16 08:27:58 +0000 |
| commit | 494062a80ac54bdfdbff746c95d433e0231b5e30 (patch) | |
| tree | 548c803e1f3f2a752f44da4117699216ae71ab28 /roundcubemail/program/js | |
| parent | 76d936c3c7d9fa6eda0b46d9914f889ef8cc2fcd (diff) | |
- don't use onchange to toggle editor because of IE bug
git-svn-id: https://svn.roundcube.net/trunk@1315 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/editor.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index 13298cd29..7b22c9e8e 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/program/js/editor.js @@ -35,26 +35,6 @@ function rcmail_editor_init(skin_path, editor_lang) }); } -// Set the state of the HTML/Plain toggles based on the _is_html field value -function rcmail_set_editor_toggle_states() - { - // set the editor toggle based on the state of the editor - - var htmlFlag = document.getElementsByName('_is_html')[0]; - var toggles = document.getElementsByName('_editorSelect'); - for(var t=0; t<toggles.length; t++) - { - if (toggles[t].value == 'html') - { - toggles[t].checked = (htmlFlag.value == "1"); - } - else - { - toggles[t].checked = (htmlFlag.value == "0"); - } - } - } - // Toggle between the HTML and Plain Text editors function rcmail_toggle_editor(toggler) @@ -62,7 +42,6 @@ function rcmail_toggle_editor(toggler) var selectedEditor = toggler.value; // determine the currently displayed editor - var htmlFlag = document.getElementsByName('_is_html')[0]; var isHtml = htmlFlag.value; |
