Skip to main content

Bug Tracker

Side navigation

#2626 closed bug (fixed)

Opened March 31, 2008 10:22PM UTC

Closed April 01, 2008 01:24PM UTC

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

Reported by: scottgonzalez Owned by: paul
Priority: major Milestone: 1.2.4
Component: ui 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 (0.3 KB) - added by scottgonzalez March 31, 2008 10:22PM UTC.
Change History (1)

Changed April 01, 2008 01:24PM UTC by scott.gonzal comment:1

resolution: → fixed
status: newclosed

Fixed in [5174].