Permalink
Browse files

Replace deprecated input:file with input[type=file] selector.

  • Loading branch information...
1 parent b6dae4e commit a59f28f0a7e68214985c1fb591ea6766125d45c8 @javierjulio javierjulio committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rails.js
View
@@ -82,7 +82,7 @@
requiredInputSelector: 'input[name][required]:not([disabled]),textarea[name][required]:not([disabled])',
// Form file input elements
- fileInputSelector: 'input:file',
+ fileInputSelector: 'input[type=file]',
// Link onClick disable selector with possible reenable after remote submission
linkDisableSelector: 'a[data-disable-with]',

0 comments on commit a59f28f

Please sign in to comment.