Bug Tracker

Changeset 5159

Show
Ignore:
Timestamp:
03/31/08 22:02:31 (9 months ago)
Author:
scott.gonzalez
Message:

UI Droppable: fixed greedy droppables nested multiple levels deep.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/ui.droppable.js

    r5149 r5159  
    258258                var instance = $.data(this.item.element[0], 'droppable');  
    259259                if (instance.options.greedy) {  
    260                     this.item.element.parents('.ui-droppable').each(function() {  
     260                    this.item.element.parents('.ui-droppable:eq(0)').each(function() {  
    261261                        var parent = this;  
    262262                        $.each($.ui.ddmanager.droppables, function() {