From 39bd9b8e298b21bbe652b31b940aa772bed7d8b2 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 28 Jul 2014 03:41:18 -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 f0afc6b..04be841 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -430,6 +430,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');
--
Gitblit v1.9.1