jQuery: The Write Less, Do More JavaScript Library

Ticket #1567 (closed bug: fixed)

Opened 11 months ago

Last modified 10 months ago

nodeName without toUpperCase() in add() method

Reported by: davojan Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.1 Component: core
Version: 1.2 Keywords:
Cc: Needs: Review

Description

In jquery 1.1.4 on line 285:

t.length != undefined && (!t.nodeName || t.nodeName == "FORM") ?

should be:

t.length != undefined && (!t.nodeName || jQuery.nodeName(t, "form")) ?

Reason: in xhtml nodeName is in lowercase.

Attachments

Change History

Changed 10 months ago by john

  • status changed from new to closed
  • version changed from 1.1.4 to 1.2
  • resolution set to fixed
  • milestone changed from 1.2 to 1.2.1

Fixed in SVN rev [3305].

Note: See TracTickets for help on using tickets.