Skip to content

Commit 881b097

Browse files
committed
Fixed bug posting FormData in the http() method in Utils.js
1 parent f7d2376 commit 881b097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ javaxt.dhtml.utils = {
160160
payload = JSON.stringify(payload);
161161
}
162162
else{
163-
if (payload != null && typeof payload == 'object'){
163+
if (payload != null && typeof payload == 'object' && !(payload instanceof FormData)){
164164
payload = JSON.stringify(payload);
165165
}
166166
}

0 commit comments

Comments
 (0)