runtime info parser: if daemon is running, clear pending notification

This commit is contained in:
Andrew Dolgov 2007-05-17 14:27:34 +01:00
parent e968e7f79d
commit d00bfb5f45
1 changed files with 2 additions and 0 deletions

View File

@ -605,6 +605,8 @@ function parse_runtime_info(elem) {
if (k == "daemon_is_running" && v != 1) { if (k == "daemon_is_running" && v != 1) {
notify_error("<span onclick=\"javascript:explainError(1)\">Update daemon is not running.</span>"); notify_error("<span onclick=\"javascript:explainError(1)\">Update daemon is not running.</span>");
} else {
notify('');
} }
/* var w = document.getElementById("noDaemonWarning"); /* var w = document.getElementById("noDaemonWarning");