|
@@ -3610,7 +3610,7 @@ function init_xm(xm_id, xm_radio, xm_tips, xm_url, xm_data, xm_value, xm_on)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- $.getJSON(xm_url, data, function(response) {
|
|
|
+ var success = function(response) {
|
|
|
console.info(1);
|
|
|
if (typeof response == "string") {
|
|
|
response = JSON.parse(response);
|
|
@@ -3657,7 +3657,14 @@ function init_xm(xm_id, xm_radio, xm_tips, xm_url, xm_data, xm_value, xm_on)
|
|
|
xm_on && xm_on(send)
|
|
|
})
|
|
|
}
|
|
|
- });
|
|
|
+ };
|
|
|
+ $.ajax({
|
|
|
+ dataType: "json",
|
|
|
+ url: xm_url,
|
|
|
+ data: data,
|
|
|
+ timeout:0,
|
|
|
+ success: success
|
|
|
+ });
|
|
|
},
|
|
|
});
|
|
|
}
|