Changeset 41b43ba in github
- Timestamp:
- Nov 28, 2008 2:01:35 PM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 2fd9750
- Parents:
- ba1c48f
- File:
-
- 1 edited
-
program/js/app.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
r69ad1e8 r41b43ba 367 367 { 368 368 if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.mailboxlist) 369 this._int = setInterval(function(){ ref.check_for_recent( ); }, this.env.keep_alive * 1000);369 this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); 370 370 else if (this.env.keep_alive && !this.env.framed && this.task!='login') 371 371 this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000); … … 816 816 817 817 case 'checkmail': 818 this.check_for_recent( );818 this.check_for_recent(true); 819 819 break; 820 820 … … 3917 3917 3918 3918 // send periodic request to check for recent messages 3919 this.check_for_recent = function( )3919 this.check_for_recent = function(setbusy) 3920 3920 { 3921 3921 if (this.busy) 3922 3922 return; 3923 3923 3924 this.set_busy(true, 'checkingmail'); 3924 if (setbusy) 3925 this.set_busy(true, 'checkingmail'); 3926 3925 3927 this.http_request('check-recent', (this.env.search_request ? '_search='+this.env.search_request+'&' : '') + '_t='+(new Date().getTime()), true); 3926 3928 };
Note: See TracChangeset
for help on using the changeset viewer.
