summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 52f0e8add..0f5345b9b 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -67,6 +67,8 @@ function headlines_callback2(transport, feed_cur_page) {
debug("headlines_callback2 [page=" + feed_cur_page + "]");
+ if (!transport_error_check(transport)) return;
+
clean_feed_selections();
var is_cat = false;
@@ -327,6 +329,8 @@ function article_callback2(transport, id, feed_id) {
if (transport.responseXML) {
+ if (!transport_error_check(transport)) return;
+
debug("looking for articles to cache...");
var articles = transport.responseXML.getElementsByTagName("article");