Browse files

issue #19735: Always "merge" changes so lists update.

  • Loading branch information...
1 parent 74e2b77 commit d8bd5f0438f67e703c53df305faf71b320929337 John Rogelstad committed Mar 10, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/backbone-x/source/collection.js
View
1 lib/backbone-x/source/collection.js
@@ -195,6 +195,7 @@ white:true*/
Handle status change.
*/
add: function (models, options) {
+ options = options = _.extend({ merge: true }, options);
var result = Backbone.Collection.prototype.add.call(this, models, options),
i,
K = XM.Model;

0 comments on commit d8bd5f0

Please sign in to comment.