summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-07-28 09:39:37 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-07-28 09:41:18 +0200
commit39bd9b8e298b21bbe652b31b940aa772bed7d8b2 (patch)
tree0035692a52e27158ebf6cbecaa1993d156518ef7 /program/include
parent835638037a6e11cfdf4fd84c4b362465937a5bba (diff)
Set 'compose_extwin' env property on every step; accept a list of URL parameters for the 'compose' command
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index f0afc6b63..04be841d7 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -430,6 +430,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');