Kirill Grishin
unread,Jul 5, 2012, 6:24:01 AM7/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to seren...@googlegroups.com
Is there a function or a property on the model to track if it was changed?
Something like:
var Dude = Serenade.Model.extend('Dude ', function() {
this.property("name", { serialize: true });
this.property("changed", { get: {
function() { return isChanged() }
} });
}
This is needed to see if any of the properties of an object were changed at all.
Thank you,
Kirill