Last active
May 27, 2016 05:06
-
-
Save goofmint/4159e931e888de2470b983f12ff1a1b1 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
'.gridViewer showDetail': function(ctx) { | |
var id = ctx.evArg; | |
if (!id) { | |
return; | |
} | |
var isMass = ($.isArray(id) ? id[0] : id).indexOf('_') === '0'; | |
var data = this._appLogic.getPurchaseById(id); | |
this._detailController.setData(data, isMass); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment