aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
Commit message (Collapse)AuthorAgeFilesLines
* Autocomplete: Set context for ajax requests instead of relying on default ↵Scott González2012-02-111-1/+3
| | | | | | context. Fixes #7490 - Autocomplete fails when context option is set with ajaxSetup. (cherry picked from commit 041cb39a6667e3637a40fad6ef952da476f2af97)
* Autocomplete: Add 1px to the width of the menu to avoid wrapping in Firefox. ↵Scott González2011-10-251-1/+3
| | | | | | Fixes #7513 - Autocomplete: long text wraps in Firefox. (cherry picked from commit 4cc61b459d73af78dd40f01e3250f2546d9f04bd)
* Autocomplete: Re-enable native autocomplete whent he page is unloaded. Fixes ↵Scott González2011-10-181-0/+8
| | | | #7790 - Autocomplete-enabled text input does not keep value when using back button in browser.
* jQuery 1.6 support.Scott González2011-07-291-1/+1
|
* Autocomplete: Use appropriate methods for getting scroll values for ↵Scott González2011-05-111-4/+4
| | | | .prop()/.attr() compat. Fixes #7354 - Autocomplete: Scrollable results don't visually update with jQuery 1.6.
* Autocomplete: moved autoFocus implementation to after menu visible for a11yRichard Worth2011-03-151-4/+4
| | | | (cherry picked from commit 4026d3acd70508ca285bd4eb182b8f0b43eae5c8)
* Autocomplete: new option autoFocus, default false. Fixed #7032 - ↵Richard Worth2011-03-151-0/+5
| | | | Autocomplete: Add option to automatically highlight the first result
* Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. ↵Scott González2011-01-271-6/+8
| | | | | | Fixes #6904 - Autocomplete: Race condition handling means. (cherry picked from commit a1ab9678e9bba6b20989104040bc31b782094335)
* Updated copyright year.Scott González2011-01-171-1/+1
|
* Autocomplete: Track pending requests and only remove the loading class when ↵Scott González2010-12-181-1/+8
| | | | the last request completes. Fixes #6761 - Autocomplete: Loading class removed when multiple Ajax requests occur.
* Autocomplete: Abort pending ajax requests when disabled and prevent handling ↵Scott González2010-12-181-2/+5
| | | | results when disabled. Fixes #6752 - Menu may still render when autocomplete is disabled.
* 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.