summaryrefslogtreecommitdiff
path: root/program/include/rcube_json_output.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-21 08:41:59 +0000
committeralecpl <alec@alec.pl>2010-09-21 08:41:59 +0000
commit115158136626d2d135cc20794b6e8dc19a8fe1bf (patch)
treeec944ee9c37b286d084c2fc787a50842128f522a /program/include/rcube_json_output.php
parent799359457f89646efa502a08e66cd9875a010178 (diff)
- Fix setting headers for IE in AJAX responses
Diffstat (limited to 'program/include/rcube_json_output.php')
-rw-r--r--program/include/rcube_json_output.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php
index 31eaa87a8..2751ec182 100644
--- a/program/include/rcube_json_output.php
+++ b/program/include/rcube_json_output.php
@@ -36,16 +36,18 @@ class rcube_json_output
private $callbacks = array();
private $message = null;
+ public $browser;
public $type = 'js';
public $ajax_call = true;
-
-
+
+
/**
* Constructor
*/
- public function __construct($task)
+ public function __construct($task=null)
{
- $this->config = rcmail::get_instance()->config;
+ $this->config = rcmail::get_instance()->config;
+ $this->browser = new rcube_browser();
}