From 4a0d928cb9c9de37cc806dbf4e3afc0326d5e9ad Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 14 Apr 2008 09:38:36 +0000 Subject: Always check for recent if a mailbox list is available git-svn-id: https://svn.roundcube.net/trunk@1299 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 76d77610b..410aad8c4 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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); -- cgit v1.2.3