Skip to main content

Search and Top Navigation

#2376 closed bug (fixed)

Opened February 20, 2008 10:59PM UTC

Closed February 26, 2008 05:18PM UTC

Last modified February 26, 2009 11:31AM UTC

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".

Attachments (0)
Change History (3)

Changed February 26, 2008 05:18PM UTC by paul comment:1

resolution: → fixed
status: newclosed

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 11:31AM UTC by paul comment:3

milestone: → 1.5