Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6134 closed bug (duplicate)

data() now returns null on "no data"

Reported by: Christoph Owned by:
Priority: Milestone: 1.4.2
Component: data Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:

Description

The update from jquery 1.4.1 to 1.4.2 broke my code. I found out that the data() function is in 1.4.2 returning null, if there is no data. In the release 1.4.1 it returned undefined.

I was wondering about Ticket #5971, where 3 weeks ago it describes this issue turned around.

Change History (2)

comment:1 Changed 13 years ago by qoobaa

The same thing here - this change broke a lot of existing scripts.

comment:2 Changed 13 years ago by john

Resolution: duplicate
Status: newclosed

Fixed in #6166.

Note: See TracTickets for help on using tickets.