Changeset 3616845 in github


Ignore:
Timestamp:
Apr 2, 2010 9:59:18 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
d1851ba
Parents:
751b22b
Message:
  • fix empty body after switching from html to plain
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/editor.js

    r4cdc709 r3616845  
    101101 
    102102    rcmail.plain2html(composeElement.value, textAreaId); 
    103     tinyMCE.execCommand('mceToggleEditor', false, textAreaId); 
     103    tinyMCE.execCommand('mceAddControl', false, textAreaId); 
    104104    // #1486593 
    105105    setTimeout("rcmail_editor_tabindex();", 500); 
     
    122122      } 
    123123 
    124     tinyMCE.execCommand('mceToggleEditor', false, textAreaId); 
     124    tinyMCE.execCommand('mceRemoveControl', false, textAreaId); 
    125125    rcmail.display_spellcheck_controls(true); 
    126126    if (flagElement && (flag = rcube_find_object(flagElement))) 
Note: See TracChangeset for help on using the changeset viewer.