]> git.wh0rd.org - tt-rss.git/blobdiff - js/tt-rss.js
add net-alert icon
[tt-rss.git] / js / tt-rss.js
index 5cbfbfa6e91e0b25b4b58ff97fa1aa8aa14f738f..3a83644d40b7eeb2fe6d090e592b657b996443b5 100644 (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);
        }