- Fix setting headers for IE in AJAX responses

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

@ -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();
}

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

Loading…
Cancel
Save