rails/jquery-ujs — pull request #324 by mperrando (2013-05-29 11:05:04+00:00)
Title: Skip the confirm behaviour.

In a practical case, when a checkbox in the page is checked, I need to skip the confirmation on a button click with a "data-confirm" message, and perform the action without the user confirmation.

The only way I have found is to patch the ujs code: when the "confirm" event returns the string "skip" the action is performed, exactly as when the "data-confirm" is not set.