I modified the resetAttributes to allow an array of attribute names to be passed in so ONLY those are reset, rather than the whole lot.
it drops the individual keys from the _unsavedAttrs array as well, so they are reverted.
I also modified it to use set(), so model updates are triggered to bound views - not sure if this causes any issues else where, but thought id open it up for discussion.
I modified the resetAttributes to allow an array of attribute names to be passed in so ONLY those are reset, rather than the whole lot.
it drops the individual keys from the _unsavedAttrs array as well, so they are reverted.
I also modified it to use set(), so model updates are triggered to bound views - not sure if this causes any issues else where, but thought id open it up for discussion.
cheers
m