Closed GoogleCodeExporter closed 8 years ago
Fixed the put handler being called incorrectly on creation of objects, and
incorrect
handling of post calls.
Note that the post handler is not called on the class, it must be on the query
prototype.
Query.prototype.post = function(postedObject){
console.log("post called");
return postedObject;
};
Original comment by kris...@gmail.com
on 26 Jun 2009 at 9:20
Also, you can create an initialize function for when an object is created (and
use
onSave after all updates). I would recommend sticking to setting
initialize/onSave
handlers for most use cases.
Original comment by kris...@gmail.com
on 26 Jun 2009 at 9:22
Original issue reported on code.google.com by
Micha.Ni...@gmail.com
on 12 Jun 2009 at 12:58