Skip to main content

Bug Tracker

Side navigation

#1309 closed bug (fixed)

Opened June 20, 2007 05:02PM UTC

Closed July 21, 2007 01:57AM UTC

Last modified July 21, 2007 02:47AM UTC

className.has(undefined) and className.add(undefined) should fail gracefully

Reported by: keithorama Owned by: brandon
Priority: minor Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

it looks like className.remove() handles the case where the parameter is undefined. The has() and add() methods blow up. Would be nice if they didn't

Attachments (1)
  • jquery.diff (1.2 KB) - added by keithorama June 20, 2007 05:04PM UTC.

    patch to check for non-string input on className.*

Change History (3)

Changed July 20, 2007 09:18PM UTC by brandon comment:1

owner: → brandon

Changed July 21, 2007 01:57AM UTC by brandon comment:2

resolution: → fixed
status: newclosed

Fixed in Rev [2436].

Changed July 21, 2007 02:47AM UTC by brandon comment:3