From 44a4d12da8a0d7739b48fbe33d551fd6f79b6a67 Mon Sep 17 00:00:00 2001 From: Andrew Schaaf Date: Sat, 2 Oct 2010 17:26:30 -0400 Subject: [PATCH] Model.destroy no longer removes the model from its collection --- backbone.js | 1 - 1 file changed, 1 deletion(-) diff --git a/backbone.js b/backbone.js index 65d26111..72fe4011 100644 --- a/backbone.js +++ b/backbone.js @@ -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; }