Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2376 closed bug (fixed)

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

Reported by: Veryth Owned by: paul
Priority: blocker Milestone: 1.5
Component: ui.core 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 (3)

comment:1 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed

comment:2 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:3 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.