1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:05:56 +00:00

add net-alert icon

This commit is contained in:
Andrew Dolgov
2013-01-14 14:16:55 +04:00
parent eb161344c2
commit 6effae6dd8
5 changed files with 102 additions and 4 deletions

View File

@@ -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);
}