summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-05 15:54:25 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-05 15:54:25 +0200
commit64f7d6758fd269823ab19270a6ef5658f0a28669 (patch)
tree6bd1b62f503554c71caa5f6be2b27c2da158c144 /program/steps/mail/func.inc
parent4f3f3b47e227408646392e7867ec21178a84ab3a (diff)
Select/scroll to previously selected message when returning from message page (#1489023)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 0dba3c125..ac343ad5a 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -104,6 +104,10 @@ if (empty($RCMAIL->action) || $RCMAIL->action == 'list') {
}
}
+ if (!empty($_GET['_uid'])) {
+ $OUTPUT->set_env('list_uid', $_GET['_uid']);
+ }
+
// set configuration
$RCMAIL->set_env_config(array('delete_junk', 'flag_for_deletion', 'read_when_deleted',
'skip_deleted', 'display_next', 'message_extwin', 'compose_extwin', 'forward_attachment'));