rails/jquery-ujs — pull request #217 by sskirby (2011-10-24 16:06:30+00:00)
Title: Adds a condition event that allows for the cancelling of various actions 

Adds a condition event that allows for the cancelling of various actions without showing a confirm dialog.

We can't rely on the 'confirm' event because it will only fire if the data-confirm attr is present and we don't always want the confirm dialog to show up.