Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
'{rootElement} confirmPurchase': function(ctx) {
var ids = ctx.evArg.ids;
var promise = this._appLogic.confirmByIds(ids);
this.indicator({
promises: promise
}).show();
promise.done(this.own(function(datas) {
this._detailController.confirmExecuted(datas);
this._gridViewerController.refresh();
alert(datas.length + '件の申請を承認しました');
}));
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment