Opened 12 years ago

Last modified 3 years ago

#9599 closed task

Switch to using jQuery UI 1.8.21 — at Version 6

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: AutocompleteUsersPlugin
Severity: normal Keywords:
Cc: Steffen Hoffmann, memartin, Mitar, Albert, Jun Omae, Massimo Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Switch to using jQuery UI 1.8.21, which is currently used for the DateFieldPlugin and the KeywordSuggestPlugin.

Change History (6)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Summary: Switch to using jQuery 1.7.3Switch to using jQuery UI 1.8.16

We'll have to use 1.8.16 since 1.7.3 doesn't have the Autocomplete widget.

comment:2 Changed 12 years ago by Ryan J Ollos

Cc: Steffen Hoffmann added; anonymous removed
Description: modified (diff)

On my Trac 0.12.2 installation, I'm finding that the latest version of the KeywordSuggestPlugin (r11027) works fine with the latest version of the DateFieldPlugin (r11026), but I get an error when the AutocompleteUsersPlugin (r10974) is enabled. The error is found in the Error Console on FF8, and appears when editing the CC field. The keywords field just behaves as if the KeywordSuggestPlugin is disabled.

Error: $(this).data("autocomplete") is undefined
Source File: <Link removed>/ticket/640
Line: 82

The conflict appears to be because AutocompleteUsersPlugin is using an old version of jQuery autocomplete (1.0.2), while KeywordSuggestPlugin has been ported to using jQuery UI 1.8.16.

comment:3 Changed 12 years ago by Ryan J Ollos

Cc: memartin added

#10097 closed as a duplicated.

comment:4 in reply to:  2 Changed 12 years ago by Ryan J Ollos

Cc: Mitar added

Replying to rjollos:

The conflict appears to be because AutocompleteUsersPlugin is using an old version of jQuery autocomplete

Which in fact has been deprecated in favor of jQuery UI 1.8 Autocomplete: http://docs.jquery.com/Plugins/Autocomplete.

comment:5 Changed 12 years ago by Mitar

Yes. jQuery autocomplete works nicely othewise, been using it in some other project.

comment:6 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Summary: Switch to using jQuery UI 1.8.16Switch to using jQuery UI 1.8.21

Latest stable is jQuery UI 1.8.21.

Note: See TracTickets for help on using tickets.