From 9d5308b1ab76f8cce34d945a9afb255e720da977 Mon Sep 17 00:00:00 2001 From: Corban Brook Date: Thu, 5 May 2011 15:15:16 -0400 Subject: [PATCH] Pass options to the coll.add call in Collection::create so that it can work silently. --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index 7ec5d484..11bfea78 100644 --- a/backbone.js +++ b/backbone.js @@ -536,7 +536,7 @@ } var success = options.success; options.success = function(nextModel, resp, xhr) { - coll.add(nextModel); + coll.add(nextModel, options); if (success) success(nextModel, resp, xhr); }; model.save(null, options);