Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#550 closed feature (fixed)

recallDroppables function catch error when no item is being dragged

Reported by: bluej100@… Owned by: stefan
Priority: trivial Milestone:
Component: interface Version:
Keywords: recallDroppables, droppable Cc:
Blocked by: Blocking:

Description

When I rearrange items on the page, I'd like to just call $.recallDroppables. However, line 97 in idrop.js assumes that an item is being dragged, which causes an error to be thrown if not so. I'd appreciate this on line 93:

if (!jquery.iDrag.dragged) {return false;}

If not, can I count on this property myself? It feels like it should be private.

Change History (1)

comment:1 Changed 13 years ago by stefan

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