Changeset 3768 in subversion


Ignore:
Timestamp:
Jun 18, 2010 4:44:27 PM (3 years ago)
Author:
alec
Message:
  • Don't call keep-alive on print page
File:
1 edited

Legend:

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

    r3765 r3768  
    50795079      clearInterval(this._int); 
    50805080 
    5081     if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.mailboxlist) 
     5081    if (this.env.keep_alive && !this.env.framed && this.task == 'mail' && this.gui_objects.mailboxlist) 
    50825082      this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); 
    5083     else if (this.env.keep_alive && !this.env.framed && this.task!='login') 
     5083    else if (this.env.keep_alive && !this.env.framed && this.task != 'login' && this.env.action != 'print') 
    50845084      this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000); 
    50855085  }; 
Note: See TracChangeset for help on using the changeset viewer.