Making delete button, when viewing a message, consider which page was viewed before
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 23 Aug 2004 00:59:14 +0000 (00:59 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 23 Aug 2004 00:59:14 +0000 (00:59 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7946 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
src/read_body.php

index 4d8f6f8..d280214 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -88,6 +88,8 @@ Version 1.5.1 -- CVS
   - Added status bar to compose window when "Compose In New Window" is used.
   - Reenabled the move_messages_button_action hook and changed its name to
     mailbox_display_button_action to promote the new location
+  - Making delete button, when viewing a message, consider which page was viewed
+    before.
 
 Version 1.5.0
 --------------------
index faed6af..18d823e 100644 (file)
@@ -649,6 +649,7 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message, $removed
         if (!(isset($passed_ent_id) && $passed_ent_id)) {
             $menu_row .= addHidden('mailbox', $aMailbox['NAME']);
             $menu_row .= addHidden('msg[0]', $passed_id);
+            $menu_row .= addHidden('startMessage', $startMessage);
             $menu_row .= getButton('submit', 'delete', _("Delete"));
             $menu_row .= '<input type="checkbox" name="bypass_trash" />' . _("Bypass Trash");
         } else {