projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don’t poll for status on the login page.
[Sone.git]
/
src
/
main
/
resources
/
static
/
javascript
/
sone.js
diff --git
a/src/main/resources/static/javascript/sone.js
b/src/main/resources/static/javascript/sone.js
index
8a3780f
..
fe2e12d
100644
(file)
--- a/
src/main/resources/static/javascript/sone.js
+++ b/
src/main/resources/static/javascript/sone.js
@@
-954,7
+954,9
@@
$(document).ready(function() {
});
/* activate status polling. */
});
/* activate status polling. */
- setTimeout(getStatus, 5000);
+ if (getPageId() != "login") {
+ setTimeout(getStatus, 5000);
+ }
/* reset activity counter when the page has focus. */
$(window).focus(function() {
/* reset activity counter when the page has focus. */
$(window).focus(function() {