Skip to content

Commit

Permalink
Updated formInputClickSelector for button[type] IE7 issue. Closes rai…
Browse files Browse the repository at this point in the history
  • Loading branch information
JangoSteve committed Sep 15, 2011
1 parent c01215c commit 44df81a
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 @@ -58,7 +58,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([type])',
formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[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 44df81a

Please sign in to comment.