Backbone.localStorage icon indicating copy to clipboard operation
Backbone.localStorage copied to clipboard

Destroy model without localstorage set

Open spenoir opened this issue 9 years ago • 1 comments

If I try to delete a model without localstorage set, then I get the url error (explained in the old #50 issue). I have replicated my setup as much as possible on jsbin and used a model without localstorage which appears to destory fine. I'm using latest versions of everything AFAIK.

The other day I fixed this issue by following the comment in this old issue: https://github.com/jeromegn/Backbone.localStorage/issues/50#issuecomment-11254943

spenoir avatar Apr 13 '15 11:04 spenoir

Hi @spenoir - is this referring to doing model.destroy() when the model comes from a collection with localStorage set?

scott-w avatar Feb 28 '17 19:02 scott-w