mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-25 06:48:07 -05:00
Model.destroy no longer removes the model from its collection
This commit is contained in:
@@ -271,7 +271,6 @@
|
||||
|
||||
// Destroy this model on the server.
|
||||
destroy : function(options) {
|
||||
if (this.collection) this.collection.remove(this);
|
||||
Backbone.request('DELETE', this, options.success, options.error);
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user