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