summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-11-04 13:09:40 +0100
committerAndrew Dolgov <[email protected]>2006-11-04 13:09:40 +0100
commitca2f46a72ddc92c5aa1bce4c795bc87d03f404b5 (patch)
tree3ddf2541cd06f7f45ef6b515b637253595c7a1c7 /tt-rss.js
parent2513ae2bc91f26b4a313066d7d656b39def50906 (diff)
bugfix: catchupAllFeeds was broken in iframe transition
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 9af28cb7e..0884ce8ae 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -249,9 +249,16 @@ function catchupAllFeeds() {
notify("Marking all feeds as read...");
- var feeds_frame = document.getElementById("feeds-frame");
+ debug("catchupAllFeeds Q=" + query_str);
- feeds_frame.src = query_str;
+ if (xmlhttp_ready(xmlhttp)) {
+ xmlhttp.open("GET", query_str, true);
+ xmlhttp.onreadystatechange=feedlist_callback;
+ xmlhttp.send(null);
+ } else {
+ debug("xmlhttp busy");
+ //printLockingError();
+ }
global_unread = 0;
updateTitle("");