#6752 closed bug (invalid)
this.source is not defined in jquery.ui.autocomplete.js
Reported by: | ZlatanO | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | misc | Version: | 1.4.2 |
Keywords: | autocomplete, source, initsource, search, this.source, undefined | Cc: | |
Blocked by: | Blocking: |
Description
it would be a good practice to predefine the "source" property of the autocomplete (jquery.ui.autocomplete.js ver. 1.8.1) plugin.
I solved this in this way: file: jquery.ui.autocomplete.js line (can be some other): 163
code start source: null, code end
when you add this, you won't have the error "this.source is undefined on line 201 in jquery..."
first invoker in my case was the _search function of the autocomplete so I've added this to have the function predefined
"source" is also defined in _initSource and it seems that sometimes other functions can't catch up with _initSource and there's a failure
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | jquery.ui.autocomplete.js added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please report jQuery UI bugs in the UI bug tracker: http://dev.jqueryui.com