Last active
May 27, 2016 05:06
-
-
Save goofmint/26208a947e8eb6252ea119a64cdb7624 to your computer and use it in GitHub Desktop.
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