diff --git a/images/alert.png b/images/alert.png
new file mode 100644
index 000000000..9687c4cf1
Binary files /dev/null and b/images/alert.png differ
diff --git a/images/alert.svg b/images/alert.svg
new file mode 100644
index 000000000..237f66caf
--- /dev/null
+++ b/images/alert.svg
@@ -0,0 +1,87 @@
+
+
+
+
diff --git a/index.php b/index.php
index 24ab0912c..f07ee056a 100644
--- a/index.php
+++ b/index.php
@@ -114,6 +114,10 @@
");
} else {
- notify_error("Error communicating with server.");
+ //notify_error("Error communicating with server.");
+ Element.show("net-alert");
}
_infscroll_request_sent = 0;
@@ -315,11 +316,13 @@ function article_callback2(transport, id) {
// return;
// }
- } else {
+ } else if (transport.responseText) {
console.error("Invalid object received: " + transport.responseText);
render_article("" +
__('Could not display article (invalid object received - see error console for details)') + "
");
+ } else {
+ Element.show("net-alert");
}
request_counters();