From d4783319a086b09eb50ac6ad5da93eb1eeb771ca Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 28 Jul 2014 09:39:37 +0200 Subject: Set 'compose_extwin' env property on every step; accept a list of URL parameters for the 'compose' command --- program/include/rcmail.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index ed5fedb4a..ceb369af8 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -427,6 +427,9 @@ class rcmail extends rcube $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'); -- cgit v1.2.3