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

make invalid object received headlines appear less

This commit is contained in:
Andrew Dolgov
2012-12-26 18:24:14 +04:00
parent d8858f27c6
commit 0cd35af0ba

View File

@@ -202,11 +202,13 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
else
request_counters();
} else {
} else if (transport.responseText) {
console.error("Invalid object received: " + transport.responseText);
dijit.byId("headlines-frame").attr('content', "<div class='whiteBox'>" +
__('Could not update headlines (invalid object received - see error console for details)') +
"</div>");
} else {
notify_error("Error communicating with server.");
}
_infscroll_request_sent = 0;