Reactivate status polling on all pages, it’s necessary for the notifications.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 31 Dec 2010 10:23:27 +0000 (11:23 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 31 Dec 2010 10:23:27 +0000 (11:23 +0100)
src/main/resources/static/javascript/sone.js

index 803774a..8a3780f 100644 (file)
@@ -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() {