Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2376 closed bug (fixed)

droppable events "over" and "out" may not fire

Reported by: Veryth Owned by: paul
Priority: undecided Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

Description

Summary:
If you have a some disabled and some enabled droppables the "over" and "out" events may not fire.

This line appears to be the culprit: ui.droppable.js(210): if(this.item.disabled) return false;

The return false will signal $.each to stop iterating which will cause any droppables in the list, that occur after a disabled one, not to fire "over"/"out" events.

Possible Solution:
Change the return statement to just "return", and not "return false".

Change History (1)

comment:1 Changed 12 years ago by paul

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.