]> git.wh0rd.org Git - tt-rss.git/commitdiff
runtime info parser: if daemon is running, clear pending notification
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 17 May 2007 13:27:34 +0000 (14:27 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 17 May 2007 13:27:34 +0000 (14:27 +0100)
tt-rss.js

index 321b4254cffb26fae95610d3fd74cdf185076ce9..215699c5094e8b72ccbe73bf86c18cb137b68633 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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");