Bug Tracker

Opened 11 years ago

Closed 10 years ago

#4454 closed bug (invalid)

[autocomplete] - jQuery plugin 1.0.2

Reported by: luizromero Owned by:
Priority: major Milestone: 1.2
Component: ajax Version: 1.2.6
Keywords: autocomplete Cc:
Blocked by: Blocking:

Description

Hi, I found a problem with autocomplete when typing the 1st caracter after 'minChars' parameter, so i change the code like folow.

Javascript error message:

s.toLowerCase is not a function

Code with problem: function matchSubset(s,sub){

if(!options.matchCase)

s=s.toLowerCase();

I change to: function matchSubset(s,sub){

if(!options.matchCase)

s=String.fromCharCode(s).toLowerCase();

Is my change is correct or i made a mistake ?

thank you

Luiz Romero.

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

This belongs in the jQuery UI tracker, http://dev.jqueryui.com

Note: See TracTickets for help on using tickets.