Side navigation
Ticket #6845: jquery-1.3.2.js.patch
File jquery-1.3.2.js.patch, 0.6 KB (added by docyes, July 28, 2010 10:16PM UTC)
Patch File
3106,3111c3106,3111
< jQuery( window ).bind( 'unload', function(){
< for ( var id in jQuery.cache )
< // Skip the window
< if ( id != 1 && jQuery.cache[ id ].handle )
< jQuery.event.remove( jQuery.cache[ id ].handle.elem );
< });
---
> jQuery.fn.SplunkPatchWindowUnload = function(){
> for ( var id in jQuery.cache )
> // Skip the window
> if ( id != 1 && jQuery.cache[ id ].handle )
> jQuery.event.remove( jQuery.cache[ id ].handle.elem );
> }; jQuery( window ).bind( 'unload', jQuery.fn.SplunkPatchWindowUnload ); //Workaround for anonymous function assignment for onunload
Download in other formats:
Original Format
File jquery-1.3.2.js.patch, 0.6 KB (added by docyes, July 28, 2010 10:16PM UTC)
Patch File
3106,3111c3106,3111
< jQuery( window ).bind( 'unload', function(){
< for ( var id in jQuery.cache )
< // Skip the window
< if ( id != 1 && jQuery.cache[ id ].handle )
< jQuery.event.remove( jQuery.cache[ id ].handle.elem );
< });
---
> jQuery.fn.SplunkPatchWindowUnload = function(){
> for ( var id in jQuery.cache )
> // Skip the window
> if ( id != 1 && jQuery.cache[ id ].handle )
> jQuery.event.remove( jQuery.cache[ id ].handle.elem );
> }; jQuery( window ).bind( 'unload', jQuery.fn.SplunkPatchWindowUnload ); //Workaround for anonymous function assignment for onunload