Fixing #703 : missing ContentType header on datatable invoker api

revert-70aa11f8
Rasika Perera 8 years ago
parent 7660bf8569
commit a107a0392e

@ -62,6 +62,7 @@ if (uriMatcher.match("/{context}/api/data-tables/invoker")) {
function (backendResponse) { function (backendResponse) {
response["status"] = backendResponse["status"]; response["status"] = backendResponse["status"];
response["content"] = utility.encodeJson(backendResponse["responseText"]); response["content"] = utility.encodeJson(backendResponse["responseText"]);
response["contentType"] = "application/json";
} }
); );
} }

Loading…
Cancel
Save