Merge pull request #704 from rasika/master

Fixing #703 : missing ContentType header on datatable invoker api
This commit is contained in:
Amal Gunatilake 2017-04-25 08:47:48 +05:30 committed by GitHub
commit 6ecf6082aa
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -153,6 +153,7 @@
<!-- / result content -->
</div>
</div>
</div>
<!-- /content/body -->
{{/zone}}
{{#zone "bottomJs"}}