Merge pull request #457 from deegital/patch-1

No header deletion for forms with files
This commit is contained in:
William Durand 2014-08-01 15:47:52 +02:00
commit 4306a1a4a3

View File

@ -451,7 +451,6 @@
ajaxOptions.data = formData;
ajaxOptions.processData = false;
ajaxOptions.contentType = false;
delete(ajaxOptions.headers);
}
// and trigger the API call