more feedback & race condition fix in browserToggleExpand()

master
Andrew Dolgov 18 years ago
parent 9a35e16d1e
commit ff725e9bec

@ -1451,6 +1451,11 @@ function browserToggleExpand(id) {
d.style.display = "none";
} */
if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
var d = document.getElementById("BRDET-" + id);
if (d.style.display == "block") {
@ -1460,6 +1465,9 @@ function browserToggleExpand(id) {
feed_to_expand = id;
d.style.display = "block";
d.innerHTML = "Loading, please wait...";
xmlhttp.open("GET", "backend.php?op=pref-feed-browser&subop=details&id="
+ param_escape(id), true);
xmlhttp.onreadystatechange=expand_feed_callback;

Loading…
Cancel
Save