Skip to main content

Search and Top Navigation

#6008 closed bug (fixed)

Opened September 01, 2010 12:43PM UTC

Closed September 03, 2010 01:51PM UTC

Last modified November 19, 2010 06:26PM UTC

Widget: auto-destroy is broken in jQuery 1.4

Reported by: scottgonzalez Owned by:
Priority: critical Milestone: 1.8.5
Component: ui.widget Version: 1.8.4
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery was refactored in 1.4 such that .remove() isn't used for every method that removes elements. We should hook into jQuery.cleanData if it exists, and proxy .remove() if it doesn't.

see forum post.

Attachments (0)
Change History (4)

Changed September 01, 2010 12:44PM UTC by scottgonzalez comment:1

description: jQuery was refactored in 1.4 such that .remove() isn't used for every method that removes elements. We should hook into jQuery.cleanData if it exists, and proxy .remove() if it doesn't.jQuery was refactored in 1.4 such that .remove() isn't used for every method that removes elements. We should hook into jQuery.cleanData if it exists, and proxy .remove() if it doesn't. \ \ see [http://forum.jquery.com/topic/jquery-empty-does-not-destroy-ui-widgets-whereas-jquery-remove-does-using-ui-1-8-4 forum post].

Changed September 03, 2010 01:51PM UTC by scottgonzalez comment:2

resolution: → fixed
status: newclosed

Fixed in 0a0a39f.

Changed September 10, 2010 05:24PM UTC by scottgonzalez comment:3

milestone: 1.91.8.5

Changed November 19, 2010 06:26PM UTC by Scott González comment:4

Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4.

Changeset: 0a0a39f896f83412dc91bedd6819c3a3a0932302