Bug Tracker

Modify

Ticket #2397 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Cannot obtain attributes from dropped item! (UI Droppables)

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

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.

Change History

comment:1 Changed 5 years ago by mnichols

alert($(ui.draggable).attr("title")); this was changed so that the ui.draggable is now the element being dropped

comment:2 Changed 5 years ago by paul

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.