Permalink
Browse files

Fixes #2824 — create() triggering an improper parse()

  • Loading branch information...
1 parent 19dcf9f commit 9280d855e3dde54cfb7b4c2a477c52b34dd11152 @jashkenas jashkenas committed Nov 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 backbone.js
View
2 backbone.js
@@ -876,7 +876,7 @@
if (!options.wait) this.add(model, options);
var collection = this;
var success = options.success;
- options.success = function(model, resp, options) {
+ options.success = function(model, resp) {
if (options.wait) collection.add(model, options);
if (success) success(model, resp, options);
};

0 comments on commit 9280d85

Please sign in to comment.