Side navigation
#6752 closed bug (invalid)
Opened July 01, 2010 02:52PM UTC
Closed July 02, 2010 02:52AM UTC
Last modified March 15, 2012 01:42PM UTC
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 (1)
Changed July 02, 2010 02:52AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Please report jQuery UI bugs in the UI bug tracker: http://dev.jqueryui.com