1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 03:15:54 +00:00

rework no daemon warning

This commit is contained in:
Andrew Dolgov
2007-01-27 10:21:55 +01:00
parent c50e2b3004
commit ef16ae3782
5 changed files with 38 additions and 8 deletions

View File

@@ -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;
}
}