Commit 4b1a5df1 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

Merge branch 'nginx' into 'master'

Restore GET method for news feed xhr.

See merge request !2
parents 04c23b44 c9a71cca
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} else { } else {
xhttp=new XMLHttpRequest(); xhttp=new XMLHttpRequest();
} }
xhttp.open("POST",dname,false); xhttp.open("GET",dname,false);
xhttp.send(""); xhttp.send("");
return xhttp.responseXML; return xhttp.responseXML;
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
} else { } else {
xhttp=new XMLHttpRequest(); xhttp=new XMLHttpRequest();
} }
xhttp.open("POST",dname,false); xhttp.open("GET",dname,false);
xhttp.send(""); xhttp.send("");
return xhttp.responseXML; return xhttp.responseXML;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment