Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6530 closed bug (invalid)

[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:


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.

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.