Commit b85b82e3 authored by Sven Franck's avatar Sven Franck

undo

parent 5f08c211
......@@ -878,7 +878,7 @@ function ajax(param) {
return new RSVP.Promise(function (resolve, reject, notify) {
var k;
xhr.open(param.type || "GET", param.url, true);
xhr.setRequestHeader("Content-type","application/json; charset=UTF-8");
// xhr.setRequestHeader("Content-type","application/json; charset=UTF-8");
if (typeof param.headers === 'object' && param.headers !== null) {
for (k in param.headers) {
if (param.headers.hasOwnProperty(k)) {
......
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