1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 15:25:56 +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

@@ -48,7 +48,6 @@ function expand_feed_callback() {
var container = document.getElementById("BRDET-" + feed_to_expand);
container.innerHTML=xmlhttp.responseText;
// container.style.display = "block";
// p_notify("");
Effect.Appear(container, {duration : 0.5});
} catch (e) {
exception_error("expand_feed_callback", e);
@@ -248,10 +247,6 @@ function updateFeedList(sort_key) {
return
}
// document.getElementById("prefContent").innerHTML = "Loading feeds, please wait...";
// p_notify("Loading, please wait...");
var feed_search = document.getElementById("feed_search");
var search = "";
if (feed_search) { search = feed_search.value; }
@@ -279,10 +274,6 @@ function updateUsersList(sort_key) {
return
}
// document.getElementById("prefContent").innerHTML = "Loading feeds, please wait...";
// p_notify("Loading, please wait...");
xmlhttp.open("GET", "backend.php?op=pref-users&sort="
+ param_escape(sort_key), true);
xmlhttp.onreadystatechange=userlist_callback;
@@ -1153,10 +1144,6 @@ function updateFilterList(sort_key) {
return
}
// document.getElementById("prefContent").innerHTML = "Loading filters, please wait...";
// p_notify("Loading, please wait...");
xmlhttp.open("GET", "backend.php?op=pref-filters&sort=" +
param_escape(sort_key), true);
xmlhttp.onreadystatechange=filterlist_callback;
@@ -1171,10 +1158,6 @@ function updateLabelList(sort_key) {
return
}
// p_notify("Loading, please wait...");
// document.getElementById("prefContent").innerHTML = "Loading labels, please wait...";
xmlhttp.open("GET", "backend.php?op=pref-labels&sort=" +
param_escape(sort_key), true);
xmlhttp.onreadystatechange=labellist_callback;
@@ -1188,8 +1171,6 @@ function updatePrefsList() {
return
}
// p_notify("Loading, please wait...");
xmlhttp.open("GET", "backend.php?op=pref-prefs", true);
xmlhttp.onreadystatechange=prefslist_callback;
xmlhttp.send(null);
@@ -1467,8 +1448,6 @@ function updateBigFeedBrowser(limit) {
return
}
// p_notify("Loading, please wait...");
var query = "backend.php?op=pref-feed-browser";
var limit_sel = document.getElementById("feedBrowserLimit");