This project is archived and is in readonly mode.
Prototype UJS driver form events
-
Yuval Kordov
Thought I'd just add that in my case this event is simply not firing. The input text is correctly replaced with the disable text, but on the completion of the submit, the ajax:after event doesn't get triggered, so my form is left disabled with the disabled text.
-
Yuval Kordov
Sorry. Turns out it was being triggered so fast that it appeared as though it wasn't. So essentially, I'm +1ing the original issue. I've attached the restoration of the submit button to ajax:complete instead of ajax:after, as suggested, and everything functions as expected.
-
Santiago Pastorino
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale
-
Niels Meersschaert
- State changed from stale to open
[state:open] I have been running into this issue as well. Any disable button immediately returns to it's prior state before the Ajax request has completed. Switching to ajax:complete fixes this for me.
-
rails
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
rails
- State changed from open to stale