Bug Tracker

Modify

Ticket #4454 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

[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:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.