diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-18 20:44:27 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-18 20:44:27 +0000 |
| commit | 145a53c42fee4cc70430af5eba9ac5da6cbd6a42 (patch) | |
| tree | f819ea8c1e75a19f43394f8c7aed89a5864b1620 /roundcubemail/program/js | |
| parent | 4e9cadbd219f60188874ce9e0f7604767abf8c01 (diff) | |
- Don't call keep-alive on print page
git-svn-id: https://svn.roundcube.net/trunk@3768 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 402e1f994..37bec8287 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -5078,9 +5078,9 @@ function rcube_webmail() if (this._int) clearInterval(this._int); - if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.mailboxlist) + if (this.env.keep_alive && !this.env.framed && this.task == 'mail' && this.gui_objects.mailboxlist) this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000); - else if (this.env.keep_alive && !this.env.framed && this.task!='login') + else if (this.env.keep_alive && !this.env.framed && this.task != 'login' && this.env.action != 'print') this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000); }; |
