summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-01-27 10:21:55 +0100
committerAndrew Dolgov <[email protected]>2007-01-27 10:21:55 +0100
commitef16ae378238fa868d282da5c4f77d8556534af4 (patch)
tree529a727d924c20c928c98c5c0e8ca5cbf22d4117 /tt-rss.js
parentc50e2b3004252f5f775741020003c5935560f0f7 (diff)
rework no daemon warning
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 0e4c15485..0e0886b85 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -539,7 +539,11 @@ function parse_runtime_info(elem) {
debug("RI: " + k + " => " + v);
- var w = document.getElementById("noDaemonWarning");
+ if (k == "daemon_is_running" && v != 1) {
+ notify("<span onclick=\"javascript:explainError(1)\">Warning: Update daemon is not runing.</span>", true, true);
+ }
+
+/* var w = document.getElementById("noDaemonWarning");
if (w) {
if (k == "daemon_is_running" && v != 1) {
@@ -547,7 +551,7 @@ function parse_runtime_info(elem) {
} else {
w.style.display = "none";
}
- }
+ } */
param = param.nextSibling;
}
}