Skip to content

Commit

Permalink
[mms] Fix resuming draft from mailbox page in basic view.
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Aug 15, 2014
1 parent b40cd05 commit 18b02ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions imp/docs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
v6.2.2-git
----------

[mms] Fix resuming draft from mailbox page in basic view.
[mms] Fix displaying Virtual Trash mailbox (Bug #13418).
[mms] Fix menu actions on the minimal message page (Bug #13440).
[jan] Fix switching to HTML editor in basic mode if signature display is not
Expand Down
9 changes: 5 additions & 4 deletions imp/lib/Basic/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -875,10 +875,11 @@ protected function _init()

/* Generate the target link. */
if ($mailbox->drafts || $mailbox->templates) {
$target = $clink->copy()->add(array(
'actionID' => ($mailbox->drafts ? 'draft' : 'template'),
'buid' => $msg['buid'],
'mailbox' => $mailbox
$clink_copy = clone $clink_ob;
$clink_copy->args['buid'] = $msg['buid'];
$clink_copy->args['mailbox'] = $mailbox;
$target = $clink_copy->link()->add(array(
'actionID' => ($mailbox->drafts ? 'draft' : 'template')
));
} else {
$target = $mailbox->url('message', $msg['buid']);
Expand Down
2 changes: 2 additions & 0 deletions imp/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [mms] Fix resuming draft from mailbox page in basic view.
* [mms] Fix displaying Virtual Trash mailbox (Bug #13418).
* [mms] Fix menu actions on the minimal message page (Bug #13440).
* [jan] Fix switching to HTML editor in basic mode if signature display is not active.
Expand Down Expand Up @@ -3725,6 +3726,7 @@
<date>2014-08-04</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [mms] Fix resuming draft from mailbox page in basic view.
* [mms] Fix displaying Virtual Trash mailbox (Bug #13418).
* [mms] Fix menu actions on the minimal message page (Bug #13440).
* [jan] Fix switching to HTML editor in basic mode if signature display is not active.
Expand Down

0 comments on commit 18b02ce

Please sign in to comment.