Commit Graph

87 Commits

Author SHA1 Message Date
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
Richard Worth
2f5eadeb8f Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true 2011-03-15 05:48:31 -04:00
Richard Worth
09215ef2cd Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 05:39:56 -04:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
jzaefferer
540b78d920 Adding a domEqual assertion to our testsuite for more sane DOM
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01:00
Scott González
bed6def5c0 Autocomplete tests: Fixed various bugs in various versions of IE. 2011-02-24 22:55:24 +01:00
jzaefferer
38cfcfffe9 Menu: Update autocomplete to use deactivate and check for focus class 2011-02-24 12:05:20 +01:00
Scott González
50958718c2 Autocomplete: Added support for contenteditable elements. Fixes #6914 - Autocomplete: Support contenteditable. 2011-02-24 10:24:32 +01:00
jzaefferer
c37637ee99 Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use 2011-02-23 12:46:13 +01:00
jzaefferer
a1ebed70e3 Unit tests: Add QUnit toolbar for hiding passed tests 2011-02-21 20:39:35 +01:00
Scott González
68d905dd45 Autocompete tests: Added missing menu dependency. 2011-01-14 16:51:31 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
f4d8ec9159 Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden. 2010-10-26 09:05:38 -04:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
789e7f753e Autocomplete tests: Removed reference to non-existent menu plugin. 2010-10-21 22:16:27 -04:00
Scott González
adcafce7a2 Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
Thanks Ján Suchal.
2010-09-27 10:10:00 -04:00
jzaefferer
d8bee228b3 Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions 2010-08-29 17:21:39 +02: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
58ae7ce2fd Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0.
2010-07-30 12:38:18 -04:00
jzaefferer
ea58cd5ac0 Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack 2010-07-30 14:26:58 +02:00
Scott González
74e0d4f473 Autocomplete: Added appendTo option. Fixes #5836 - Autocomplete: add appendTo option. 2010-07-21 14:54:20 -04:00
Scott González
612838a151 Autocomplete: Added position option. Fixes #5153 - Autocomplete position option. 2010-07-19 09:28:04 -04:00
jzaefferer
3280e3356d Autocomplete unit tests: Fix event handling in IE 2010-04-13 12:04:05 +02:00
jzaefferer
094ab5a5d9 Autocomplete and button unit tests: Same remove-role-attr fix as for accordion in destroy-method test 2010-04-13 11:12:01 +02:00
jzaefferer
c01b3baef9 Autocomplete: Track input changes and fire change-event on blur, along with selected item, if available. Fix for #5490 2010-04-08 12:05:52 +02:00
jzaefferer
88b909b04e Autocomplete unit tests: Replace unreliable setTimeout with gobal ajax event handler 2010-03-31 16:39:16 +02:00
jzaefferer
11e719f8f8 Updating autocomplete and button unit tests: use equal instead of ok to compare markup, works fine in latest QUnit (escapes all messages correctly) 2010-03-27 08:00:03 +01:00
Jörn Zaefferer
d7e33373ad replaced pearl with perl 2010-03-20 14:37:18 +00:00
Richard Worth
bfc180b1ba html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase 2010-03-12 03:18:34 +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
Richard Worth
9483dcdbe6 Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Richard Worth
0798b10717 Fixed #5182 - Update to jQuery 1.4.2 2010-02-16 02:39:57 +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
79bd955054 switched to jQuery 1.4.1 2010-01-27 12:29:43 +00:00
Richard Worth
eecbde22a6 eol-style and mime-type 2010-01-20 14:00:14 +00:00
Richard Worth
a1e069759d switched to jQuery 1.4 2010-01-20 13:52:38 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00