aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
Commit message (Collapse)AuthorAgeFilesLines
* All: Remove workaround for .offset() setter bug from older versions of jQuery.Scott González2010-12-111-2/+0
|
* All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - ↵Scott González2010-12-101-1/+1
| | | | Deprecate $.ui.contains.
* Autocomplete: Update selectedItem in the asynchronous focus handling for IE. ↵Scott González2010-12-011-0/+1
| | | | Fixes #6709 - Autocomplete: Null ui.item on change event in IE8.
* Autocomplete: Handle ajax errors and timeouts. Fixes #6692 - Autocomplete: ↵Scott González2010-11-301-4/+15
| | | | ui-autocomplete-loading class not removed when Ajax request times out.
* Autocomplete: Re-position menu after resizing, not before. Fixes #6648 - ↵Scott González2010-11-121-3/+5
| | | | Autocomplete menu position issue when positioned to the right.
* Autocomplete: Trigger close after hiding the menu. Fixes #6227 - ↵Scott González2010-10-261-1/+1
| | | | Autocomplete: Don't trigger close event until after the menu is hidden.
* Autocomplete: Always reset this.term after a select event, even if the ↵Scott González2010-10-251-1/+3
| | | | select is cancelled. Fixes #6221 - Autocomplete: Doesn't reset after Select when textbox cleared, if same letters typed in rapidly; source function not triggered in that case.
* Autocomplete: Split menu resizing logic into its own method to create a more ↵Scott González2010-10-211-7/+11
| | | | logical method to proxy for custom sizing.
* Autocomplete: Don't react to key events on readonly inputs. Fixes #6170 - ↵Scott González2010-10-111-1/+1
| | | | autocomplete pops up on readOnly inputs.
* Autocomplete: Pass along some more original events.Scott González2010-10-111-2/+2
|
* Autocomplete: Prevent keypress events caused by enter key when selecting an ↵Dmitry Petrov2010-10-061-1/+13
| | | | item. Fixes #6055 - Autocomplete: Selecting an item by pressing enter submits the form in Opera.
* Autocomplete: Make sure we have a response before trying to check the ↵Scott González2010-10-051-1/+1
| | | | length. Fixes #6147 - Autocomplete: Errors on empty responses.
* Autocomplete: Only prevent the default action for enter when a menu item is ↵Scott González2010-09-271-2/+2
| | | | | | active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive. Thanks Ján Suchal.
* Autocomplete (Menu): Only traverse through .ui-menu-item elements for ↵Scott González2010-09-271-8/+10
| | | | paging. Fixes #6029 - Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click.
* Autocomplete: Handle IE firing focus events asynchronously. Fixes #6109 - ↵Scott González2010-09-241-0/+6
| | | | Autocomplete Change event does not fire in IE.
* Autocomplete: Properly handle non-item clicks inside the suggestion list. ↵Scott González2010-09-201-1/+1
| | | | Fixes #6052 - Autocomplete suggestion list does not close properly.
* Autocomplete: Store term when selecting an item to prevent another search ↵jzaefferer2010-08-311-0/+1
| | | | triggered before blur. Fixes #5591 - Home and End keys trigger search
* Autocomplete: Abort existing ajax requests when running new searches.Scott González2010-08-241-1/+5
|
* Autocomplete: Don't handle remote data if it's not the most recent request. ↵Scott González2010-08-241-2/+7
| | | | Fixes #5982 - Autocomplete: Race condition causes incorrect suggestions.
* Autocomplete: changed menu activated function to check if the offset is ↵Robson Braga Araujo2010-08-111-1/+1
| | | | greater than or equal the height. Fixed #5923 - autocomplete: Scrolling with the keyboard sometimes does not show the item (Chrome)
* Autocomplete: changed the search function to always store the last term that ↵Robson Braga Araujo2010-08-111-4/+5
| | | | was entered by the user. Fixed #5922 - autocomplete: Search not triggered if the first letter is the same as the first letter of a previous erased content
* Autocomplete: Handle clicks outside the autocomplete after scrolling the ↵Scott González2010-08-051-1/+18
| | | | results (which causes the body to gain focus). Fixes #5903 - Autocomplete doesn't close after scrolling.
* Autocomplete: Don't reset text field value on blur unless it will actually ↵Scott González2010-08-041-1/+4
| | | | change the value. Fixes #5900 - Autocomplete: mousing over menu option replaces text box contents, moves caret.
* Autocomplete: Respect the disabled option. Fixes #5619 - Autocomplete widget ↵Scott González2010-07-301-0/+12
| | | | keeps looking for remote data even when it's disabled.
* Revert "Use pushStack in widget method. Fixes #5732 - make the widget method ↵Scott González2010-07-301-1/+1
| | | | | | maintain the stack" This reverts commit ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.
* Use pushStack in widget method. Fixes #5732 - make the widget method ↵jzaefferer2010-07-301-1/+1
| | | | maintain the stack
* Core: Added .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight(). ↵Scott González2010-07-211-6/+2
| | | | Fixes #5850 - .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight() setters.
* Autocomplete: Fixed bad reference to ownerDocument.Scott González2010-07-211-1/+1
|
* Autocomplete: Added appendTo option. Fixes #5836 - Autocomplete: add ↵Scott González2010-07-211-2/+6
| | | | appendTo option.
* Autocomplete: Prevent the default behavior of pressing enter when the menu ↵Scott González2010-07-201-1/+1
| | | | is open, even if no item is active. Partial fix for #5757 - Autocomplete combobox issues.
* Autocomplete: Clear selectedItem property whenever the user types something. ↵Scott González2010-07-201-0/+1
| | | | Also updated combobox to clear the select element when clearing the text element. Fixes #5453 - Autocomplete: combobox demo doesn't remove invalid values.
* Autocomplet: refactored handling of menu's selected event.Scott González2010-07-201-10/+7
|
* Autocompelte: Only run a search if the value has changed; switching from a ↵Scott González2010-07-201-14/+4
| | | | blacklist of keys to ignore. Fixes #5716 - autocomplete triggered when field copied with ctrl-c.
* Autocomplete: Render items as text, not HTML. Fixes #5275 - suggestions are ↵Scott González2010-07-191-1/+1
| | | | | | not html-encoded. As noted in the ticket, it's probably better to default to unstyled items to prevent problems. Users can still implement their own rendering method as shown in the custom data and display demo.
* Autocomplete: Don't update the value of the text field until after setting ↵Scott González2010-07-191-2/+8
| | | | focus. Fixes #5639 - Cursor jumps to beginning on select.
* Menu: Only look for .ui-menu-item elements to determine if a menu item is ↵Scott González2010-07-191-2/+2
| | | | the first or last element in the menu. Fixes #5528 - Autocomplete: Issue when try to navigate using up key by keyboard in IE6.
* Autocomplete: Added position option. Fixes #5153 - Autocomplete position option.Scott González2010-07-191-7/+10
|
* Autocomplete: Use .outerWidth() for determining the size of the menu. Fixes ↵Scott González2010-07-161-3/+7
| | | | #5832 - Autocomplete: menu has incorrect width.
* All: Added http://jqueryui.com/about to header comments.Scott González2010-07-141-2/+2
|
* All: Define a local undefined variable inside the main closure.Scott González2010-07-131-1/+1
|
* Updated copyright headers to make it clear that you can choose between MIT ↵Scott González2010-07-091-6/+6
| | | | and GPLv2. Also added a link to http://jquery.org/license.
* Autocomplete: Updated escapeRegex utility based on http://xregexp.com/xregexp.jsjzaefferer2010-07-051-1/+1
|
* Prevent autocomplete-menu from closing when clicking 'slowly', eg. a long ↵jzaefferer2010-05-181-1/+7
| | | | mousedown. Fix for #5405 - Autocomplete: select event not triggered when mousedown duration > blur timeout
* Autocomplete: Ignore command (left and right/menu/windows), insert, caps ↵Scott González2010-04-231-0/+7
| | | | | | lock, home, end keys. Fixes #5415 - Catch all common keys while typing a word.
* Autocomplete: Refactored code for array filtering into ↵jzaefferer2010-04-161-5/+7
| | | | $.ui.autocomplete.filter, used by remote-with-cache and modified multiple-demo (now with local data); added multiple-remote to also show multiple with remote data
* Autocomplete: Track input changes and fire change-event on blur, along with ↵jzaefferer2010-04-081-2/+9
| | | | selected item, if available. Fix for #5490
* Autocomplete: Only remove classes actually added by the widget, ui-widget ↵jzaefferer2010-03-261-1/+1
| | | | etc. aren't added, so don't remove them
* Added $.ui.keyCode.ALT to complete list of metakeys, used in autocompletejzaefferer2010-03-261-1/+1
|
* Menu: Ignore clicks that don't occur on the anchor tag within a valid menu ↵Scott González2010-03-241-1/+1
| | | | | | item. Fixes #5376 - Menu plugin fires select when border is clicked.
* Menu: pass the original event to the select callback.Scott González2010-03-201-7/+7
| | | Fixes #5343 - Add option to allow form submission when option is chosen.