No header deletion for forms with files

Fixes #453
This commit is contained in:
Jan Behrens 2014-08-01 14:38:00 +02:00
parent 7a364db571
commit df7e97a941

View File

@ -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