]> git.wh0rd.org - tt-rss.git/blobdiff - js/tt-rss.js
add placeholder update checker using git changesets
[tt-rss.git] / js / tt-rss.js
index 26749d1089f073baf129d165b7cd0c2634a47d1e..df41a9cc54dc70066c113793a9fd730b574e03c2 100644 (file)
@@ -767,6 +767,16 @@ function parse_runtime_info(data) {
                        return;
                }
 
+               if (k == "update_result") {
+                       var updatesIcon = dijit.byId("updatesIcon").domNode;
+
+                       if (v != "") {
+                               Element.show(updatesIcon);
+                       } else {
+                               Element.hide(updatesIcon);
+                       }
+               }
+
                if (k == "daemon_stamp_ok" && v != 1) {
                        notify_error("<span onclick=\"javascript:explainError(3)\">Update daemon is not updating feeds.</span>", true);
                        return;