Commit Graph

28 Commits

Author SHA1 Message Date
Jörn Zaefferer
8a71d0f129 Autocomplete: Fix assertion message in appendTo option test 2014-02-21 13:35:04 +01:00
Scott González
113e9d0c2c Autocomplete: Normalize falsy values, not just missing values
Fixes #9762
2014-01-22 10:40:19 -05:00
Scott González
2ef1b16e4d Autocomplete: Fall back to .ui-front searching for empty jQuery objects
Fixes #9755
2014-01-20 16:20:11 -05:00
Kris Borchers
9620812986 Autocomplete tests: Update tests now that generated menu doesn't have anchors in elements 2013-10-05 22:19:57 -05:00
Scott González
7af03b73ea Autocomplete tests: Cleanup. 2013-04-30 10:27:22 -04:00
Scott González
44d07173db Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable: disabled should not have ui-state-disabled

This reverts commit 23771d38ba.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
This reverts commit 4d67f4f349.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349 Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable : disabled should not have ui-state-disabled
2013-03-11 22:08:21 -04:00
Scott González
80e46c93a8 Autocomplete: Append to closest .ui-front if available. 2012-12-14 09:10:32 -05:00
Scott González
da17a232ca Autocomplete: Handle detached elements for appendTo after create. 2012-12-07 11:58:58 -05:00
Scott González
dec844570f Autocomplete: When appendTo is a jQuery object or a DOM element, don't search against the document. Fixes #8858 - Autocomplete: Fails when appendTo is detached from the DOM. 2012-11-28 10:33:59 -05:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
f262a531fa Autocomplete: Added a test for exceeding minLength, then falling below, then exceeding again. 2012-02-15 11:41:58 -05:00
Scott González
530d4cb408 Autocomplete: Cancel search when closing the menu. Fixes #7523 - Autocomplete cancel pending request when text changes below minLength. 2012-02-11 10:12:51 -05:00
Dave Methvin
9b3ada43d3 Autocomplete tests: Fix #7788, incorrect selector in autoFocus test.
jQuery 1.7 fixed a bug with positional selectors that exposed the incorrect use of `.children()` here.
2011-10-13 13:18:30 -04:00
Scott González
6867e0b551 Autocomplete tests: Fixed handling of cached ajax requests in IE. 2011-08-03 16:13:03 -04:00
Scott González
2bc6627991 Autocomplete tests: Cleanup. 2011-06-13 14:09:44 -04:00
Richard Worth
9b3badea6c Autocomplete unit test: corrected name and argument order of equal() call in autoFocus test function 2011-03-15 12:55:16 -04:00
Richard Worth
c1a0f2bf6c Autocomplete: refactored unit tests for autoFocus option 2011-03-15 09:36:36 -04:00
Richard Worth
56b7ec134d Autocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 08:42:28 -04:00
Scott González
90caa93a9b Autocomplete: Respect the disabled option. Fixes #5619 - Autocomplete widget keeps looking for remote data even when it's disabled. 2010-07-30 12:59:33 -04:00
Scott González
74e0d4f473 Autocomplete: Added appendTo option. Fixes #5836 - Autocomplete: add appendTo option. 2010-07-21 14:54:20 -04:00
jzaefferer
88b909b04e Autocomplete unit tests: Replace unreliable setTimeout with gobal ajax event handler 2010-03-31 16:39:16 +02:00
Jörn Zaefferer
d7e33373ad replaced pearl with perl 2010-03-20 14:37:18 +00:00
Scott González
5f213572d6 Autocomplete: Append menu to body and reset z-index on every suggestion.
Fixes #5271.
2010-03-11 03:28:00 +00:00
Jörn Zaefferer
df391a998f Fix for #5120 - create menu only once and return that element from the widget method, put ui-autocomplete class on menu 2010-02-02 14:04:50 +00:00
Richard Worth
eecbde22a6 eol-style and mime-type 2010-01-20 14:00:14 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00