Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change ajax method

  • Loading branch information...
commit bedc0729e7187dac55a6ae103c65a6d7cd2b88b7 1 parent af24f9d
ShiChunhua authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  demo/core/ajax.js
View
2  demo/core/ajax.js
@@ -49,7 +49,7 @@
}
}
- this.http.open("POST", this.url, true);
+ this.http.open(this.method || "GET", this.url, true);
this.http.setRequestHeader("REQUEST-TYPE","xmlhttp");
//this.http.setRequestHeader("REFERER", this.url);
this.http.setRequestHeader("CONTENT-TYPE","text/xml");
Please sign in to comment.
Something went wrong with that request. Please try again.