Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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