Permalink
Browse files

Droppable: Make sure._drop is called for all relevant droppables. Fix…

…es #6009 - Upper droppable should receive draggable. Fixes #6085 - Parent droppable takes precedence over dynamically created child droppable.
  • Loading branch information...
1 parent 5fb9629 commit fdc332ed5fb7f7e688151d5cae9b450569d73da5 @bikeshedder bikeshedder committed with scottgonzalez Nov 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.droppable.js
@@ -224,7 +224,7 @@ $.ui.ddmanager = {
if(!this.options) return;
if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance))
- dropped = dropped || this._drop.call(this, event);
+ dropped = this._drop.call(this, event) || dropped;
if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
this.isout = 1; this.isover = 0;

3 comments on commit fdc332e

@scottgonzalez
Member

@bikeshedder Can you please sign our CLA?

@bikeshedder
Contributor
@scottgonzalez
Member

Thanks.

Please sign in to comment.