Skip to content
Browse files

Updated formInputClickSelector for button[type] IE7 issue. Closes #206.

  • Loading branch information...
1 parent c01215c commit 44df81adbb31b83f77ec59b4e616a4183861688e @JangoSteve JangoSteve committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rails.js
View
2 src/rails.js
@@ -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]',

0 comments on commit 44df81a

Please sign in to comment.
Something went wrong with that request. Please try again.