Changeset 1151581 in github


Ignore:
Timestamp:
Sep 21, 2010 4:41:59 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
cb2bc80
Parents:
7993594
Message:
  • Fix setting headers for IE in AJAX responses
Location:
program/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_json_output.php

    r2eb7943 r1151581  
    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 
  • program/include/rcube_template.php

    r62c791f r1151581  
    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.