Bug Tracker

Modify

Ticket #3080 (closed bug: invalid)

Opened 6 years ago

Last modified 5 years ago

[autocomplete] Minor fixes required in order to play nice with other libraries that extend Object (code inside)

Reported by: bramus Owned by:
Priority: critical Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: autocomplete Cc:
Blocking: Blocked by:

Description

(also posted this at the jquery-en list, yet this one here has a .diff attached ;))

Hi Jörn et all here at the list,

I'm using the autocomplete plugin in a project I'm working on and I must say: it works great!. However: one part of the project uses ExtJS (their tree component is great) and that's where things go wrong. Problem is that somewhere in ExtJS they extend Object with a remove() function, breaking jQuery.autocomplete.

After a little quest I found that - quite obviously - autocomplete breaks on string manipulations (Function.toLowerCase() doesn't really exist ;)) and has a minor issue when displaying the items whenever some library has extended Object.

Hereby attached a little .diff containing the 2 minor changes I implemented in order to make things work "just fine" again. Could you tuck 'm into the release as I can't commit any changes to the trunk.

Regards, Bramus!

Attachments

jquery.autocomplete.diff Download (719 bytes) - added by bramus 6 years ago.

Change History

Changed 6 years ago by bramus

comment:1 Changed 5 years ago by dmethvin

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

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug 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.