alekseykulikov/backbone-offline

.storage.sync.full() alle Model data gets dirty

aheissenberger opened this issue · 1 comments

what do I need to change to only get dirty:true for changed data?

thanks
Andreas

Sorry - I had this on the Model:
this.bind('change', function(){ this.save(); });

this made any update to trigger this.save() and set all data dirty - I fixed it by making it more specific:
this.bind('change:from', function(){ this.save(); });