Open thearabbit opened 9 years ago
Could use "this" references on "onSuccess" like this:
onSubmit: function(data, mergedData) { var self = this; // this references Orders.insert(....), function(err, id) { if (err) { self.done(); } else { Router.go(); } }); }
Could use "this" references on "onSuccess" like this: