mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #704 from rasika/master
Fixing #703 : missing ContentType header on datatable invoker api
This commit is contained in:
commit
6ecf6082aa
@ -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";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -153,6 +153,7 @@
|
|||||||
<!-- / result content -->
|
<!-- / result content -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<!-- /content/body -->
|
<!-- /content/body -->
|
||||||
{{/zone}}
|
{{/zone}}
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user