Changeset 4609 in subversion
- Timestamp:
- Mar 15, 2011 6:27:01 PM (2 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
index.php (modified) (1 diff)
-
program/js/app.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/index.php
r4600 r4609 155 155 // not logged in -> show login page 156 156 if (empty($RCMAIL->user->ID)) { 157 if ($OUTPUT->ajax_call) 157 if ($RCMAIL->action == 'keep-alive') 158 $OUTPUT->send(); 159 else if ($OUTPUT->ajax_call) 158 160 $OUTPUT->redirect(array(), 2000); 159 161 -
trunk/roundcubemail/program/js/app.js
r4608 r4609 5432 5432 if (this.env.keep_alive && !this.env.framed && this.task == 'mail' && this.gui_objects.mailboxlist) 5433 5433 this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); 5434 else if (this.env.keep_alive && !this.env.framed && this. task != 'login' && this.env.action != 'print')5434 else if (this.env.keep_alive && !this.env.framed && this.env.action != 'print') 5435 5435 this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000); 5436 5436 };
Note: See TracChangeset
for help on using the changeset viewer.
