From efcc5d365db4d1b0f3a26098011319daf50e018e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 3 Feb 2015 14:39:15 +0300 Subject: add placeholder update checker using git changesets --- js/tt-rss.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'js') 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("Update daemon is not updating feeds.", true); return; -- cgit v1.2.3-54-g00ecf