Commit Graph

46 Commits

Author SHA1 Message Date
kborchers
a63d23c314 Autocomplete: Added unit test to check for preventing value change when an unintended mouseover event (Firefox) is fired before blur. Proposed fix is in pull request 236 2011-05-10 09:54:13 -05:00
Scott González
325ee6e871 Widget: define a null default for the create callback. 2011-04-25 14:04:30 -04:00
Scott González
c4c36e557e Accordion, Autocomplete, Tabs: Separate callbacks and options in the defaults. 2011-04-25 08:11:52 -04:00
Richard Worth
6a0cdaa495 Merge branch 'master' of github.com:jquery/jquery-ui 2011-03-28 11:20:21 -04:00
Scott González
ec0a9cc454 Removed empty ticket test files. 2011-03-28 11:20:03 -04:00
Richard Worth
b5e67861bb Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true 2011-03-28 11:13:53 -04:00
Scott González
e7991e33f3 Autocomplete: Added response event. Fixes #6777 - Autocomplete callback when search is complete. 2011-03-22 14:07:49 -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
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