lib/assets/javascripts/transistor-backbone.js in transistor-0.1.12 vs lib/assets/javascripts/transistor-backbone.js in transistor-0.1.13

- old
+ new

@@ -21,10 +21,10 @@ }; }()); backbone_collection = new Backbone.Collection(); backbone_collection.on('change', function (model, options) { - var entry = U.clone(model.attributes), + var entry = (model.get('object') || {}), id = model.id; if (options.from_radiotower === undefined) { if (!control) { throw "BackboneCollection is not mutable by user. The model with id "+model.id+" has been changed";