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

View file

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