Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2626 closed bug (fixed)

[UI Base] overridden remove should trigger event on descendant elements

Reported by: Scott González Owned by: paul
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: ui base remove Cc:
Blocked by: Blocking:

Description

Imagine the following code:

<div id="foo">
  <div id="bar"></div>
</div>

$(document).ready(function() {
  $('#bar').draggable();
  $('#foo').remove();
});

The draggable plugin would never know that #foo was removed. See attached patch.

Attachments (1)

remove.patch (344 bytes) - added by Scott González 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Scott González

Attachment: remove.patch added

comment:1 Changed 12 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in [5174].

comment:2 Changed 12 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:3 Changed 11 years ago by paul

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