Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active May 27, 2016
Embed
What would you like to do?
'.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