You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that if model does not have an id then backbone.localStorage adapter generate newcid for it. But when the server returns a new id it takes overmodel.id and then this makes the adapter save the model twice. Any ideas how to make it play nice when waiting for id from server but still allow offline support?
The text was updated successfully, but these errors were encountered:
It seems that if model does not have an id then
backbone.localStorage
adapter generatenew
cid
for it. But when the server returns a new id ittakes over
model.id
and then this makes the adapter save the model twice. Any ideas how to make it play nice when waiting forid
from server but still allow offline support?The text was updated successfully, but these errors were encountered: