Skip to main content

Bug Tracker

Side navigation

#361 closed bug (fixed)

Opened November 07, 2006 10:44AM UTC

Closed November 07, 2006 11:37AM UTC

Last modified June 20, 2007 03:23AM UTC

Calling end() where not suitable throws an error

Reported by: klaus.hartl@stilbuer Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: end stack Cc:
Blocked by: Blocking:

Consider this:

var jqDiv = $('div').find('a');
jqDiv.end().end(); // throws error

If end() is called to often, an error is thrown: "this.stack has no properties"

I think that should degrade gracefully.

Attachments (0)
Change History (2)

Changed November 07, 2006 10:45AM UTC by anonymous comment:1

cc: end stack
keywords: → end stack

Changed November 07, 2006 11:37AM UTC by joern comment:2

resolution: → fixed
status: newclosed

Fixed in SVN :-)