summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js8
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);
}