alecpl
2010-06-29 087c7dc5d2e58e4aa99f1ffdb9b8f01c6121ce1d
program/js/editor.js
@@ -103,8 +103,7 @@
  else
    ishtml = select.value == 'html';
  if (ishtml)
    {
  if (ishtml) {
    rcmail.display_spellcheck_controls(false);
    rcmail.plain2html(composeElement.value, textAreaId);
@@ -114,8 +113,7 @@
    if (flagElement && (flag = rcube_find_object(flagElement)))
      flag.value = '1';
    }
  else
    {
  else {
    var thisMCE = tinyMCE.get(textAreaId);
    var existingHtml = thisMCE.getContent();
@@ -134,4 +132,4 @@
    if (flagElement && (flag = rcube_find_object(flagElement)))
      flag.value = '0';
    }
};
}