Permalink
Browse files

Fix showPlaceholder option.

  • Loading branch information...
1 parent 51ad08e commit f010b0dda9db8b617cafe494749210a50fdbeb68 Alexander Staubo committed Jul 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery_collection_view.js
@@ -11,7 +11,7 @@ Backbone.JQuery.CollectionView = Backbone.View.extend({
this.draggingClass = options.draggingClass || 'dragging';
this.positionAttribute = options.positionAttribute;
this.dragConstrainX = options.dragConstrainX || false;
- this.showPlaceholder = options.showPlaceholder || true;
+ this.showPlaceholder = typeof options.showPlaceholder != 'undefined' ? options.showPlaceholder : true;
this.dropMarkerClass = options.dropMarkerClass || 'drop_marker';
this._subviews = [];

0 comments on commit f010b0d

Please sign in to comment.