Fix for not passing the content-type
This commit is contained in:
parent
6b7678fb1d
commit
3ece45b3d4
@ -112,7 +112,7 @@ define(['jquery',
|
||||
headers: additionalHeaders,
|
||||
method: formMethod,
|
||||
processData: 'multipart/form-data' !== encType,
|
||||
contentType: 'multipart/form-data' === encType ? false : encType,
|
||||
contentType: 'multipart/form-data' === encType ? false : contentType,
|
||||
data: submitData,
|
||||
}).then(function (data) {
|
||||
self.onSuccessResponse(data, failureCallbackFunctionName, successCallBackFunctionName, informationalCallbackFunctionName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user