#5119 closed bug (fixed)
Overriden $.fn.remove issue in IE8 on window resize
Reported by: | Jörn Zaefferer | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.7.3 |
Component: | ui.widget | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
Cause not entirely clear, yet, details here: http://forum.jquery.com/topic/1-4-1-does-not-seem-to-like-ui-1-8rc1
jQuery core remove implementation:
// keepData is for internal use only--do not document remove: function( selector, keepData ) { if ( !selector || jQuery.filter( selector, [ this ] ).length ) { if ( !keepData && this.nodeType === 1 ) { cleanData( this.getElementsByTagName("*") ); cleanData( [ this ] ); } if ( this.parentNode ) { this.parentNode.removeChild( this ); } } }
Override in widget:
var _remove = $.fn.remove; $.fn.remove = function( selector, keepData ) { if ( !keepData ) { $( "*", this ).add( this ).each(function() { $( this ).triggerHandler( "remove" ); }); } return _remove.apply( this, arguments ); };
Change History (4)
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 13 years ago by
Component: | ui.core → ui.widget |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 11 years ago by
Milestone: | 1.8 → 1.7.3 |
---|
Note: See
TracTickets for help on using
tickets.
Fixed in r3783.