This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'.confirm click': function(ctx, $el) { | |
var ids = '' + $el.data('confirm-targets'); | |
ids = ids.split(','); | |
if (!ids.length) { | |
return; | |
} | |
if (!confirm(ids.length + '件のデータを"承認済"にします。よろしいですか?')) { | |
return; | |
} | |
this.trigger('confirmPurchase', { | |
ids: ids | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment