diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/functions.js b/functions.js index e7e211edd..7fe79c9a8 100644 --- a/functions.js +++ b/functions.js @@ -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; } |