Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified form button click selector. Fixes #63.

  • Loading branch information...
commit 33ce990ebb45f00813d2bee9658ac244ba1bc879 1 parent 7a4c6f4
@JangoSteve JangoSteve authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rails.js
View
2  src/rails.js
@@ -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]',

1 comment on commit 33ce990

@JangoSteve
Collaborator

Oops, this commit message was meant to reference issue #63 in rails/jquery-rails.

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