Bug Tracker

Ticket #2933 (new bug)

Opened 8 months ago

Last modified 8 months ago

jQuery-1.2.3.js, jQuery-1.2.5.js - function filter

Reported by: Tom Freudenberg Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.5 Component: core
Version: 1.2.3 Keywords: filter
Cc: Needs: Test Case

Description

jQuery will generate a lot of errors in browser console. This is happen by a missing typeof test. This was happen after changes from jQuery 1.2.2 to jQuery 1.2.3.

Please find attached diff extract for jQuery-1.2.3 and jQuery-1.2.5
jQuery.1.2.3.js: change line 1764
jQuery.1.2.5.js: change line 1762

<    if ( typeof fn == "string" )
---
>    if ( typeof fn == "string" || typeof fn == "undefined" )

Attachments

Change History

Changed 8 months ago by flesler

  • need changed from Review to Test Case

Hi Tom

We need a test case where this happens. Could you please provide one ?

Note: See TracTickets for help on using tickets.