Skip to main content

Search and Top Navigation

#2397 closed bug (notabug)

Opened February 23, 2008 06:14AM UTC

Closed February 26, 2008 05:14PM UTC

Last modified May 24, 2008 03:39AM UTC

Cannot obtain attributes from dropped item! (UI Droppables)

Reported by: brandon_ddc Owned by: paul
Priority: critical Milestone:
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

As of UI version 1.5b (version 1.5a is fine), you cannot obtain any attributes from an item that has been dropped. A specific example of a problem would be:

drop: function(ev, ui) {

alert($(ui.draggable.element).attr("title"));

}

This will cause the actual title of the page to be returned. Assuming this may be a conflict, I changed the attribute name to something more unique on both ends, but once I did that it failed to return anything at all.

Attachments (0)
Change History (3)

Changed February 23, 2008 07:05AM UTC by mnichols comment:1

alert($(ui.draggable).attr("title"));

this was changed so that the ui.draggable is now the element being dropped

Changed February 26, 2008 05:14PM UTC by paul comment:2

resolution: → invalid
status: newclosed

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

milestone: 1.2.3

Milestone 1.2.3 deleted