mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-09-13 06:42:10 +00:00
fix #33
This commit is contained in:
parent
82025ef9ba
commit
262798dc2d
@ -90,6 +90,7 @@
|
|||||||
url : this.options.ajaxUrl,
|
url : this.options.ajaxUrl,
|
||||||
data : $.toJSON(request),
|
data : $.toJSON(request),
|
||||||
dataType : 'json',
|
dataType : 'json',
|
||||||
|
contentType: "application/json; charset=utf-8",
|
||||||
cache : false,
|
cache : false,
|
||||||
beforeSend: function (xhr) {
|
beforeSend: function (xhr) {
|
||||||
if( options.username != null && options.username != undefined ) {
|
if( options.username != null && options.username != undefined ) {
|
||||||
@ -154,6 +155,7 @@
|
|||||||
url : this.options.ajaxUrl,
|
url : this.options.ajaxUrl,
|
||||||
data : $.toJSON(request),
|
data : $.toJSON(request),
|
||||||
dataType : 'json',
|
dataType : 'json',
|
||||||
|
contentType: "application/json; charset=utf-8",
|
||||||
cache : false,
|
cache : false,
|
||||||
beforeSend: function (xhr){
|
beforeSend: function (xhr){
|
||||||
if( options.username != null && options.username != undefined ) {
|
if( options.username != null && options.username != undefined ) {
|
||||||
@ -395,6 +397,7 @@
|
|||||||
url : self.jsonrpcclient.options.ajaxUrl,
|
url : self.jsonrpcclient.options.ajaxUrl,
|
||||||
data : $.toJSON(batch_request),
|
data : $.toJSON(batch_request),
|
||||||
dataType : 'json',
|
dataType : 'json',
|
||||||
|
contentType: "application/json; charset=utf-8",
|
||||||
cache : false,
|
cache : false,
|
||||||
type : 'POST',
|
type : 'POST',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user