From 6effae6dd8709230b91c3bed10d4eae476ef2f48 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 14 Jan 2013 14:16:55 +0400 Subject: add net-alert icon --- js/tt-rss.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'js/tt-rss.js') 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); } -- cgit v1.2.3-54-g00ecf