Reactivate status polling on all pages, it’s necessary for the notifications.
[Sone.git] / 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() {