I'm using inline editing, with a custom ajax call. After upgrading to the latest version of the editor (v1.5.5), the inline form no longer closes after calling the success method.
Everything else works correctly, and the call is made to the API.
Any idea why it isn't closing the editor?
Here's the ajax part of the table:
ajax: function (method, url, data, onSuccess, onError) {
$.ajax({
'type': 'POST',
'contentType': 'application/json; charset=utf-8',
'url': "api/mywebservice",
'data': JSON.stringify({ ...my custom data...}),
'dataType': 'json',
'dataSrc': '',
'cache': false,
success: function (json) {
onSuccess(json);
},
error: function (xhr, error, thrown) {
alert("error!");
onError(xhr, error, thrown);
}
});
}
Cross posted here: http://stackoverflow.com/questions/35762305/