alecpl
2009-12-11 2717f9f68e74277379c065d32bd0771976e49c86
program/steps/mail/compose.inc
@@ -444,12 +444,11 @@
    // load draft message body
    else if ($compose_mode == RCUBE_COMPOSE_DRAFT || $compose_mode == RCUBE_COMPOSE_EDIT)
      $body = rcmail_create_draft_body($body, $isHtml);
    $plugin = $RCMAIL->plugins->exec_hook('message_compose_body',
      array('body' => $body, 'html' => $isHtml, 'mode' => $compose_mode));
    $body = $plugin['body'];
  }
  $plugin = $RCMAIL->plugins->exec_hook('message_compose_body',
    array('body' => $body, 'html' => $isHtml, 'mode' => $compose_mode));
  $body = $plugin['body'];
  $out = $form_start ? "$form_start\n" : '';
@@ -506,7 +505,7 @@
      JQ(Q(rcube_label('close'))),
      JQ(Q(rcube_label('revertto'))),
      JQ(Q(rcube_label('nospellerrors'))),
      json_encode($spellcheck_langs),
      json_serialize($spellcheck_langs),
      $lang,
      $attrib['id'],
      JS_OBJECT_NAME), 'foot');