app/assets/javascripts/slices/app/views/attachment_composer_view.js in slices-1.0.3 vs app/assets/javascripts/slices/app/views/attachment_composer_view.js in slices-1.0.4

- old
+ new

@@ -300,10 +300,10 @@ receiveAssets: function(assets, x, y) { var p = this.findPlacementPoint(x, y), position = p ? p.index : this.collection.length; _.each(assets, function(asset) { - if (this.alreadyContains(asset)) return; + if (!this.options.allowDupes && this.alreadyContains(asset)) return; this.collection.add({ asset: asset, asset_id: asset.get('id') }, { at: position }); position += 1; }, this); },