Skip to content

Commit

Permalink
Merge pull request #430 from lulalala/ignore-disabled-file-input
Browse files Browse the repository at this point in the history
Ignore disabled file input
  • Loading branch information
rafaelfranca committed Sep 1, 2015
2 parents 998caef + 4f2d946 commit e677b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rails.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
requiredInputSelector: 'input[name][required]:not([disabled]),textarea[name][required]:not([disabled])',

// Form file input elements
fileInputSelector: 'input[type=file]',
fileInputSelector: 'input[type=file]:not([disabled])',

// Link onClick disable selector with possible reenable after remote submission
linkDisableSelector: 'a[data-disable-with], a[data-disable]',
Expand Down

0 comments on commit e677b20

Please sign in to comment.