From d4783319a086b09eb50ac6ad5da93eb1eeb771ca Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 28 Jul 2014 03:39:43 -0400 Subject: [PATCH] Set 'compose_extwin' env property on every step; accept a list of URL parameters for the 'compose' command --- program/include/rcmail.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index ed5fedb..ceb369a 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -427,6 +427,9 @@ $this->output->set_env('user_id', $this->user->get_hash()); } + // set compose mode for all tasks (message compose step can be triggered from everywhere) + $this->output->set_env('compose_extwin', $this->config->get('compose_extwin',false)); + // add some basic labels to client $this->output->add_label('loading', 'servererror', 'connerror', 'requesttimedout', 'refreshing', 'windowopenerror'); -- Gitblit v1.9.1