alekseykulikov/backbone-offline

Save with @isNew()==true is called twice

ulitiy opened this issue · 3 comments

Model thinks, that it's created twice - locally and remotely
I don't know if it's expected behaviour, but my overriden function save, that checks @isnew works incorrectly.

Same here. How did you solve this in the end? Or haven't you?

@abuisman, temporary solution is to use an additional parameter (local==true) to filter a local save

@ulitiy Thanks, that worked:

# For future reference
@create data, {local: true}