app/assets/javascripts/jqr-helpers.js in jqr-helpers-1.0.11 vs app/assets/javascripts/jqr-helpers.js in jqr-helpers-1.0.12
- old
+ new
@@ -115,9 +115,10 @@
}
function ujsButtonClick(event) {
var element = $(this);
element.uniqueId(); // to store for later
+ element.data('confirm', null); // we've already fired it
if ($.rails.allowAction(element)) {
// largely copied from rails_jquery.js
var href = element.data('url');
var method = element.data('method');
var csrf_token = $('meta[name=csrf-token]').attr('content');