projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only poll for status if a page ID is actually defined.
[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
fe2e12d
..
803774a
100644
(file)
--- a/
src/main/resources/static/javascript/sone.js
+++ b/
src/main/resources/static/javascript/sone.js
@@
-954,7
+954,7
@@
$(document).ready(function() {
});
/* activate status polling. */
- if (
getPageId() != "login"
) {
+ if (
(getPageId() != undefined) && (getPageId() != "login")
) {
setTimeout(getStatus, 5000);
}