From 115158136626d2d135cc20794b6e8dc19a8fe1bf Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 21 Sep 2010 04:41:59 -0400
Subject: [PATCH] - Fix setting headers for IE in AJAX responses
---
program/include/rcube_json_output.php | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php
index 31eaa87..2751ec1 100644
--- a/program/include/rcube_json_output.php
+++ b/program/include/rcube_json_output.php
@@ -36,16 +36,18 @@
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();
}
--
Gitblit v1.9.1