Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move the triggering of the ajax:before event to allow the caller to m…
…odify the DOM before the form is serialized also skip everything early on if the event was stopped
- Loading branch information
1752d4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the re-commit of this diff, didn't realize you'd already pulled the other one or I would have made it a separate commit ;)
1752d4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fast
1752d4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shit, my bad. I misread the diff. event.stop is for ajax:before. reverting...
1752d4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I updated that in http://github.com/brianmario/prototype-ujs/commit/1752d4cd4a7003723cf5d9a509ee365909a916d5
1752d4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah. we're all good now.