Skip to content

Conversation

@willbryant
Copy link

In Rails 2.2 a fix was put in for the case when a button has disable-with set: the library needs to add a hidden form field with the same name and value as the button had, because disabled form elements aren't included in the serialized form contents.

This fix was lost in the prototype-rails extraction. This patch adds it back.

We've been using it for the last year and it merges cleanly to master still.

…button's name and value need to be submitted as a hidden input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant