1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:15:56 +00:00

add auth support to subscribe-to-feed dialog

This commit is contained in:
Andrew Dolgov
2007-04-25 16:00:08 +01:00
parent bce7001fd1
commit f27de51531
5 changed files with 42 additions and 9 deletions

View File

@@ -1252,11 +1252,18 @@ function getRelativeFeedId(list, id, direction, unread_only) {
}
}
function showBlockElement(id) {
function showBlockElement(id, h_id) {
var elem = document.getElementById(id);
if (elem) {
elem.style.display = "block";
if (h_id) {
elem = document.getElementById(h_id);
if (elem) {
elem.style.display = "none";
}
}
} else {
alert("[showBlockElement] can't find element with id " + id);
}
@@ -1437,6 +1444,8 @@ function qaddFeed() {
var query = Form.serialize("feed_add_form");
debug("subscribe q: " + query);
/* xmlhttp.open("GET", "backend.php?" + query, true);
xmlhttp.onreadystatechange=dlg_frefresh_callback;
xmlhttp.send(null); */