Skip to content

Commit

Permalink
Fix for not passing the content-type
Browse files Browse the repository at this point in the history
nbaars committed Mar 10, 2020
1 parent 6b7678f commit 3ece45b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 3ece45b

Please sign in to comment.