thomascube
2009-04-19 cc97ea0559af1a92a54dbcdf738ee4d95e67d3ff
program/js/editor.js
@@ -52,8 +52,8 @@
      spellchecker_languages : (rcmail.env.spellcheck_langs ? rcmail.env.spellcheck_langs : 'Dansk=da,Deutsch=de,+English=en,Espanol=es,Francais=fr,Italiano=it,Nederlands=nl,Polski=pl,Portugues=pt,Suomi=fi,Svenska=sv'),
      gecko_spellcheck : true,
      relative_urls : false,
      remove_script_host : false ,
      rc_client: rcube_webmail_client,
      remove_script_host : false,
      rc_client: rcmail,
      oninit : 'rcmail_editor_callback'
    });
}
@@ -74,10 +74,9 @@
  if (ishtml)
    {
    var existingPlainText = composeElement.value;
    var htmlText = "<pre>" + existingPlainText + "</pre>";
    rcmail.display_spellcheck_controls(false);
    var htmlText = "<pre>" + composeElement.value + "</pre>";
    composeElement.value = htmlText;
    tinyMCE.execCommand('mceAddControl', true, textAreaId);
    if (flagElement && (flag = rcube_find_object(flagElement)))