Changeset 61248fd in github


Ignore:
Timestamp:
Jun 18, 2010 4:44:27 PM (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:
129997f
Parents:
7888dc6
Message:
  • Don't call keep-alive on print page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r176c76c r61248fd  
    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.