Skip to content

Use jQuery.preventDefault instead of stopImmediatePropagation.#53

Closed
lseelenbinder wants to merge 1 commit intorails:masterfrom
lseelenbinder:master
Closed

Use jQuery.preventDefault instead of stopImmediatePropagation.#53
lseelenbinder wants to merge 1 commit intorails:masterfrom
lseelenbinder:master

Conversation

@lseelenbinder
Copy link

I ran across a bug with using the library on an iPad. With stopImmediatePropagation, even if an alert is canceled, the action is still completed. Using preventDefault corrects the problem.

All tests pass.

@JangoSteve
Copy link
Member

Closing this, since it's the wrong project. Issue already created in jquery-ujs.

@JangoSteve JangoSteve closed this Mar 29, 2012
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.

2 participants