summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-06 17:45:53 +0000
committeralecpl <alec@alec.pl>2009-05-06 17:45:53 +0000
commit20ccd472f7411f8b07c01024c0ced26580af7869 (patch)
tree99b32d0d5796b72234016a37174ff79a96550905 /program
parent595be80febbdbd0acf0da023558f3fbfaa610d5c (diff)
- Fix html editor mode setting when reopening draft message (#1485834)
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index d122a9232..b31d73775 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -363,7 +363,7 @@ function rcmail_compose_body($attrib)
}
else if ($compose_mode)
{
- if ($isHtml && $MESSAGE->has_html_part())
+ if (($isHtml || $compose_mode == RCUBE_COMPOSE_DRAFT) && $MESSAGE->has_html_part())
{
$body = $MESSAGE->first_html_part();
$isHtml = true;