Skip to main content

Bug Tracker

Side navigation

#3090 closed bug (invalid)

Opened June 26, 2008 02:33AM UTC

Closed June 30, 2008 03:15PM UTC

juery-1.2.6.js line 725 undefined error

Reported by: jsoup Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: undefined Cc:
Blocked by: Blocking:
Description

juery-1.2.6.js line 725:

var name, i = 0, length = object.length;

should be:

var name, i = 0, length = object ? object.length : undefined;

Attachments (0)
Change History (1)

Changed June 30, 2008 03:15PM UTC by flesler comment:1

resolution: → invalid
status: newclosed

No, that happens because you're sending jQuery.each an undefined collection.

That is not a supported argument, you need to check that before you call the function.