aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serialize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.js b/src/serialize.js
index 6e8353d59..65dee4005 100644
--- a/src/serialize.js
+++ b/src/serialize.js
@@ -1,7 +1,7 @@
var r20 = /%20/g,
rbracket = /\[\]$/,
rCRLF = /\r?\n/g,
- rsubmitterTypes = /^(?:submit|button|image|reset)$/i,
+ rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
rsubmittable = /^(?:input|select|textarea|keygen)/i;
jQuery.fn.extend({