summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-02-03 14:39:15 +0300
committerAndrew Dolgov <[email protected]>2015-02-03 14:39:15 +0300
commitefcc5d365db4d1b0f3a26098011319daf50e018e (patch)
tree503d6ea0a5fe577f1bb19f9fbc2727cd7128daa6 /js/tt-rss.js
parent47cdc58c6065c997b03c311fa6c1d0ebf6b19690 (diff)
add placeholder update checker using git changesets
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 26749d108..df41a9cc5 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -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;