I'm suffering strange error depending on android version.
It's a kind of Ajax post call which works fine on version 4.0 but no luck over than 4.1version.
Though it's coded to show error message but nothing displayed, screen just stayed dumb.
I have no way to know what's going on inside. Folloiwng is my Ajax call of viewmodel.
_sendWhInRqst : function(action) {
var that = this;
var actionRqst = {"ActionType": action, "WhInPartList": this.get("WhInParts"), "User": App.Config.GetUser()};
App.ShowBusy(true);
$.ajax(
{
url: App.Config.BaseUrl + "/mobileRpc/DoWhInAction",
type: "POST",
contentType: "application/json; charset=utf-8",
data: JSON.stringify(actionRqst),
processData: false,
dataType: "json",
success: function (result) {
App.ShowBusy(false);
that.ShowCustList();
},
error: function (xhr, status, p3, p4) {
App.ShowBusy(false);
var errMessage = App.GetErrorMessage(xhr, status, p3, p4);
that.SetError(errMessage);
}
});
},
this.set("errorMessage", errMessage);
}
As I said, this Ajax call works fine in androind version 4.0.x and in the server side as well.
However in version over than 4.1.x, nothing happended at server side and u.i just stays as dumb.
I don't know how to catch what happened at Ajax call in real device. I'm using jQuery v1.9.1.
Any advice would be appreciated.
RGDS
Kang