Changeset 3981 in subversion


Ignore:
Timestamp:
Sep 21, 2010 4:41:59 AM (3 years ago)
Author:
alec
Message:
  • Fix setting headers for IE in AJAX responses
Location:
trunk/roundcubemail/program/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_json_output.php

    r3553 r3981  
    3737    private $message = null; 
    3838 
     39    public $browser; 
    3940    public $type = 'js'; 
    4041    public $ajax_call = true; 
    41      
    42      
     42 
     43 
    4344    /** 
    4445     * Constructor 
    4546     */ 
    46     public function __construct($task) 
    47     { 
    48         $this->config = rcmail::get_instance()->config; 
     47    public function __construct($task=null) 
     48    { 
     49        $this->config  = rcmail::get_instance()->config; 
     50        $this->browser = new rcube_browser(); 
    4951    } 
    5052 
  • trunk/roundcubemail/program/include/rcube_template.php

    r3974 r3981  
    4141    var $object_handlers = array(); 
    4242 
     43    public $browser; 
    4344    public $type = 'html'; 
    4445    public $ajax_call = false; 
Note: See TracChangeset for help on using the changeset viewer.