mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-24 14:27:56 -05:00
Merge branch 'master' of https://github.com/corbanbrook/backbone into 0.5.0
This commit is contained in:
@@ -533,7 +533,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);
|
||||
|
||||
Reference in New Issue
Block a user