mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #457 from deegital/patch-1
No header deletion for forms with files
This commit is contained in:
commit
4306a1a4a3
@ -451,7 +451,6 @@
|
|||||||
ajaxOptions.data = formData;
|
ajaxOptions.data = formData;
|
||||||
ajaxOptions.processData = false;
|
ajaxOptions.processData = false;
|
||||||
ajaxOptions.contentType = false;
|
ajaxOptions.contentType = false;
|
||||||
delete(ajaxOptions.headers);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// and trigger the API call
|
// and trigger the API call
|
||||||
|
Loading…
x
Reference in New Issue
Block a user