From 62aafa07b6839e94485f5a11d1abea9589ef0ff5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 31 Dec 2010 11:23:27 +0100 Subject: [PATCH] =?utf8?q?Reactivate=20status=20polling=20on=20all=20pages?= =?utf8?q?,=20it=E2=80=99s=20necessary=20for=20the=20notifications.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/javascript/sone.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 803774a..8a3780f 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -954,9 +954,7 @@ $(document).ready(function() { }); /* activate status polling. */ - if ((getPageId() != undefined) && (getPageId() != "login")) { - setTimeout(getStatus, 5000); - } + setTimeout(getStatus, 5000); /* reset activity counter when the page has focus. */ $(window).focus(function() { -- 2.7.4