summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-04-14 09:38:36 +0000
committerthomascube <thomas@roundcube.net>2008-04-14 09:38:36 +0000
commit3cd24d81e9dda709dd2a16fa3d8402c888fe492d (patch)
treee3a266b716faad85dc678582f0b2c5fab64698be /program/js/app.js
parentc2d6a5ebf45579d7e1ea239918b9628b2aac70c1 (diff)
Always check for recent if a mailbox list is available
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 76d77610b..410aad8c4 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -355,7 +355,7 @@ function rcube_webmail()
// start interval for keep-alive/recent_check signal
this.start_keepalive = function()
{
- if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.messagelist)
+ if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.mailboxlist)
this._int = setInterval(function(){ ref.check_for_recent(); }, this.env.keep_alive * 1000);
else if (this.env.keep_alive && !this.env.framed && this.task!='login')
this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000);