summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-23 06:57:20 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-23 06:57:20 +0000
commit3934f815932fa6dcfe7bf15c3d49bbb0036cec3e (patch)
tree5a199ef20f1fd2b5df117955cbdb47a1f76647f0 /roundcubemail/program/steps/mail/compose.inc
parent00286b2f3026f1bf9112e12b15ecc815b80bcbbe (diff)
- removed hardcoded 'compose-body' identifier (#1485996)
git-svn-id: https://svn.roundcube.net/trunk@2787 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/compose.inc')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 1d3a3dfe7..1e05c435a 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -353,7 +353,7 @@ function rcmail_compose_body($attrib)
unset($attrib['form']);
if (empty($attrib['id']))
- $attrib['id'] = 'rcmComposeMessage';
+ $attrib['id'] = 'rcmComposeBody';
$attrib['name'] = '_message';
@@ -414,6 +414,8 @@ function rcmail_compose_body($attrib)
$out .= $textarea->show($body);
$out .= $form_end ? "\n$form_end" : '';
+ $OUTPUT->set_env('composebody', $attrib['id']);
+
// include HTML editor
rcube_html_editor();
@@ -874,7 +876,7 @@ function rcmail_editor_selector($attrib)
$useHtml = ($useHtml && $MESSAGE->has_html_part());
if (empty($attrib['editorid']))
- $attrib['editorid'] = 'rcmComposeMessage';
+ $attrib['editorid'] = 'rcmComposeBody';
if (empty($attrib['name']))
$attrib['name'] = 'editorSelect';