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

make subscribe-to-feed dialog use POST

This commit is contained in:
Andrew Dolgov
2007-04-25 15:42:31 +01:00
parent 5094b4fc4d
commit bce7001fd1
2 changed files with 10 additions and 5 deletions

View File

@@ -1437,9 +1437,14 @@ function qaddFeed() {
var query = Form.serialize("feed_add_form");
xmlhttp.open("GET", "backend.php?" + query, true);
/* xmlhttp.open("GET", "backend.php?" + query, true);
xmlhttp.onreadystatechange=dlg_frefresh_callback;
xmlhttp.send(null);
xmlhttp.send(null); */
xmlhttp.open("POST", "backend.php", true);
xmlhttp.onreadystatechange=dlg_frefresh_callback;
xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlhttp.send(query);
return false;
}