Skip to content
Snippets Groups Projects
Commit 4bfd5a71 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

SSDM-13781 : V3 API: Response parsing error - set content type to avoid...

SSDM-13781 : V3 API: Response parsing error - set content type to avoid unintended replacement of "??" done by jquery which did that because it assumed it was a jsonp call where "??" represent a callback (for more details see: https://stackoverflow.com/questions/5707619/uncomprehensible-jquery-ajax-behavior-when-data-contains-consecutive-questio)
parent eb8943ae
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -11,6 +11,7 @@ define([ 'jquery', 'util/Json', 'as/dto/datastore/search/DataStoreSearchCriteria
settings.type = "POST";
settings.processData = false;
settings.dataType = "json";
settings.contentType = "application/json";
var returnType = settings.returnType;
if (returnType) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment