From b74dc7b724e4efbdb78746c6d0f42fd0f262cd93 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 1 Feb 2010 23:58:36 -0700 Subject: [PATCH] Cleanups on dimp compose page after recent ajax migration --- imp/compose-dimp.php | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index cd96af549..ed0846614 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -2,10 +2,20 @@ /** * Dynamic (dimp) compose display page. * + *
  * List of URL parameters:
- *   'popup' - Explicitly mark window as popup. Needed if compose page is
- *             opened from a page other than the base DIMP page.
- *   TODO
+ * -----------------------
+ * 'bcc' - TODO
+ * 'cc' - TODO
+ * 'folder'
+ * 'identity' - TODO
+ * 'popup' - Explicitly mark window as popup. Needed if compose page is
+ *           opened from a page other than the base DIMP page.
+ * 'subject' - TODO
+ * 'type' - TODO
+ * 'to' - TODO
+ * 'uid' - TODO
+ * 
* * Copyright 2005-2010 The Horde Project (http://www.horde.org/) * @@ -41,7 +51,7 @@ if (!$prefs->isLocked('default_identity')) { } /* Initialize the IMP_Compose:: object. */ -$imp_compose = IMP_Compose::singleton(Horde_Util::getFormData('composeCache')); +$imp_compose = IMP_Compose::singleton(); /* Init IMP_Ui_Compose:: object. */ $imp_ui = new IMP_Ui_Compose(); @@ -75,7 +85,7 @@ case 'reply': case 'reply_all': case 'reply_auto': case 'reply_list': - $reply_msg = $imp_compose->replyMessage($type, $imp_contents, Horde_Util::getFormData('to')); + $reply_msg = $imp_compose->replyMessage($type, $imp_contents, $header['to']); $msg = $reply_msg['body']; $header = $reply_msg['headers']; $header['replytype'] = 'reply'; -- 2.11.0