Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit a59f28f0a7e68214985c1fb591ea6766125d45c8 1 parent b6dae4e
@javierjulio javierjulio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rails.js
View
2  src/rails.js
@@ -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]',
Please sign in to comment.
Something went wrong with that request. Please try again.