1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 07:31:28 +00:00

code cleanups, make feedlist_callback async

This commit is contained in:
Andrew Dolgov
2007-08-24 05:49:57 +01:00
parent 6b8bbd1dae
commit 0df398da2c
3 changed files with 18 additions and 52 deletions

View File

@@ -10,10 +10,18 @@ function viewCategory(cat) {
function feedlist_callback() {
if (xmlhttp.readyState == 4) {
debug("feedlist_callback");
feedlist_callback2(xmlhttp);
}
}
function feedlist_callback2(transport) {
try {
debug("feedlist_callback2");
var f = document.getElementById("feeds-frame");
f.innerHTML = xmlhttp.responseText;
f.innerHTML = transport.responseText;
feedlist_init();
} catch (e) {
exception_error("feedlist_callback2", e);
}
}