Skip to main content

Bug Tracker

Side navigation

#6530 closed bug (invalid)

Opened May 05, 2010 09:57AM UTC

Closed May 06, 2010 12:04AM UTC

[autocomplete] Error when binding search()

Reported by: Hoggemannen Owned by:
Priority: Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: search, toLowerCase Cc:
Blocked by: Blocking:
Description

I found one error on line 180 (.bind('search'...)

if( data[i].result.toLowerCase() == q.toLowerCase() ) {}

gives an error because "result" is an array so toLoweCase() cannot be used.

A simple result[0] works, i guess there might be more than one item in result. Anyway, this is a bug.

Attachments (0)
Change History (1)

Changed May 06, 2010 12:04AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

This is the jQuery core bug tracker. Please report plugin bugs to the appropriate author.