Would post a ticket but the trac is down....

in the _init method
22: max: !this.options.scroll ? 10 : 150,

overrides whatever the developer has supplied for the "max" option.

something along the lines of this works.

max: !this.options.max ? (!this.options.scroll ? 10 : 150) :
this.options.max.

However I'm inclined to think the inner ternary should be moved down
to $.Autocomplete.defaults....


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to