Skip to content

Commit

Permalink
Modified form button click selector. Fixes rails#63.
Browse files Browse the repository at this point in the history
  • Loading branch information
JangoSteve committed Aug 13, 2012
1 parent 7a4c6f4 commit 33ce990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rails.js
Expand Up @@ -59,7 +59,7 @@
formSubmitSelector: 'form',

// Form input elements bound by jquery-ujs
formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])',
formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])',

// Form input elements disabled during form submission
disableSelector: 'input[data-disable-with], button[data-disable-with], textarea[data-disable-with]',
Expand Down

0 comments on commit 33ce990

Please sign in to comment.