diff options
author | Andrew Dolgov <[email protected]> | 2013-01-14 14:16:55 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-01-14 14:16:55 +0400 |
commit | 6effae6dd8709230b91c3bed10d4eae476ef2f48 (patch) | |
tree | d0505af422f8ca45e210e011d289e784f57be973 /js/tt-rss.js | |
parent | eb161344c2dd4ccd2abbdfbf96e27c91636b10a1 (diff) |
add net-alert icon
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 5cbfbfa6e..3a83644d4 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -961,12 +961,16 @@ function handle_rpc_json(transport, scheduled_call) { hideOrShowFeeds(getInitParam("hide_read_feeds") == 1); + Element.hide("net-alert"); + } else { - notify_error("Error communicating with server."); + //notify_error("Error communicating with server."); + Element.show("net-alert"); } } catch (e) { - notify_error("Error communicating with server."); + Element.show("net-alert"); + //notify_error("Error communicating with server."); console.log(e); //exception_error("handle_rpc_json", e, transport); } |