Model.destroy no longer removes the model from its collection

This commit is contained in:
Andrew Schaaf
2010-10-02 17:26:30 -04:00
parent ec209f704d
commit 44a4d12da8

View File

@@ -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;
}