Changeset 4688 in subversion


Ignore:
Timestamp:
Apr 24, 2011 4:15:20 AM (2 years ago)
Author:
alec
Message:
  • Remove cache buster from check-recent/keep-alive requests, it's already added by jQuery
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r4686 r4688  
    54315431      this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); 
    54325432    else if (this.env.keep_alive && !this.env.framed && this.task != 'login' && this.env.action != 'print') 
    5433       this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000); 
    5434   }; 
    5435  
    5436   // sends keep-alive signal to the server 
    5437   this.send_keep_alive = function() 
    5438   { 
    5439     var d = new Date(); 
    5440     this.http_request('keep-alive', '_t='+d.getTime()); 
     5433      this._int = setInterval(function(){ ref.http_request('keep-alive'); }, this.env.keep_alive * 1000); 
    54415434  }; 
    54425435 
     
    54475440      return; 
    54485441 
    5449     var lock, addurl = '_t=' + (new Date().getTime()) + '&_mbox=' + urlencode(this.env.mailbox); 
     5442    var lock, addurl = '_mbox=' + urlencode(this.env.mailbox); 
    54505443 
    54515444    if (refresh) { 
Note: See TracChangeset for help on using the changeset viewer.