diff options
Diffstat (limited to 'program/include/rcube_json_output.php')
-rw-r--r-- | 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 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(); } |