- Fix setting headers for IE in AJAX responses

release-0.6
alecpl 14 years ago
parent 799359457f
commit 1151581366

@ -36,6 +36,7 @@ class rcube_json_output
private $callbacks = array(); private $callbacks = array();
private $message = null; private $message = null;
public $browser;
public $type = 'js'; public $type = 'js';
public $ajax_call = true; public $ajax_call = true;
@ -43,9 +44,10 @@ class rcube_json_output
/** /**
* Constructor * 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();
} }

@ -40,6 +40,7 @@ class rcube_template extends rcube_html_page
var $js_commands = array(); var $js_commands = array();
var $object_handlers = array(); var $object_handlers = array();
public $browser;
public $type = 'html'; public $type = 'html';
public $ajax_call = false; public $ajax_call = false;

Loading…
Cancel
Save