Changeset 4688 in subversion
- Timestamp:
- Apr 24, 2011 4:15:20 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/js/app.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r4686 r4688 5431 5431 this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); 5432 5432 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); 5441 5434 }; 5442 5435 … … 5447 5440 return; 5448 5441 5449 var lock, addurl = '_ t=' + (new Date().getTime()) + '&_mbox=' + urlencode(this.env.mailbox);5442 var lock, addurl = '_mbox=' + urlencode(this.env.mailbox); 5450 5443 5451 5444 if (refresh) {
Note: See TracChangeset
for help on using the changeset viewer.
