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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user