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
Scott González
fb6119e182
Upgrade jQuery to 1.8.3.
2012-11-14 15:22:01 -05:00
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -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
a638acb583
Upgrade jQuery to 1.8.2.
2012-09-20 21:41:47 -04:00
Scott González
7f6ef7ffad
Autocomplete tests: Added test for widget() method.
2012-08-26 20:15:03 -04:00
Scott González
1e6b2b2298
Upgrade jQuery to 1.8.0.
2012-08-13 09:19:09 -04:00
Scott González
d7359beee6
Autocomplete: Added tests for live region.
2012-05-22 10:09:20 -04:00
Jörn Zaefferer
f4b2d7a411
Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers
2012-05-16 11:55:12 +02:00
Scott González
b042f8ebd6
Tests: Moved loadResources to TestHelpers.
2012-04-23 10:43:01 -04:00
Scott González
7a5a77da50
Tests: Rename {widget}_defaults.js -> {widget}_common.js
2012-04-23 10:15:17 -04:00
Jörn Zaefferer
ce3c7fab93
Update to official qunit composite addon
2012-04-21 17:49:11 +02:00
Scott González
e9d5079b04
Tests: Move commonWidgetTests() to TestHelpers.
2012-04-19 13:03:21 -04:00
Scott González
af1b4d859d
Tests: Lint.
2012-04-19 10:50:09 -04:00
Scott González
96f9c84b7b
Autocomplete: Move race condition logic from ajax requests to general response handler. Fixes #8234 - Autocomplete: Automatic race-condition handling for custom sources.
2012-04-03 16:47:14 -04:00
Scott González
89ff5c5232
Upgrade jQuery to 1.7.2.
2012-03-22 09:45:22 -04:00
Scott González
f5b52a89a7
Autocomplete: Removed the timeout for the change event. Fixes #7550 - Autocomplete change event not triggered in time.
...
Thanks spekary for finding a workaround for IE.
2012-02-16 20:24:11 -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
Scott González
62a70da959
Autocomplete: Added test for close method.
2012-01-31 14:21:18 -05:00
meh-cfl
06f6fa8524
Autocomplete: Don't invoke a search from arrow keys when the element can have multi-line text. Fixes #7639 - Key up/key down in textarea's should optionally not toggle auto-complete.
2011-11-28 16:33:23 -05:00
Scott González
2b9b2f28ec
Autocomplete: Removed commented out test.
2011-11-23 14:26:52 -05:00
Shannon
2445e20a85
Autocomplete: Making sure we do not show search menu after a blur. Fixed #7423 - Tab out of autocomplete with remote source can leave menu showing.
2011-11-23 13:39:45 -05:00
Scott González
54fb1441fe
Upgrade jQuery to 1.7.1.
2011-11-22 08:43:09 -05:00
Scott González
50dab05784
Upgrade jQuery to 1.7.
2011-11-09 10:18:33 -05:00
Scott González
63d1cbc7ab
Autocomplete tests: Fixed typo.
2011-11-01 16:26:31 -04:00
Scott González
e31adf039b
Tests (Simulate): Added focus and blur support.
2011-10-31 17:28:00 -04:00
Scott González
dcac8c1f29
Tests: Added ability to run tests against minified files via ?min=1
2011-10-28 15:58:33 -04:00
Scott González
efe964d86e
Upgraded jQuery to 1.6.4.
2011-10-18 09:38:27 -04: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
c5ba0535cf
Autocomplete: Fixed setting of valueMethod for textareas. Fixes #7674 - Autocomplete doesn't work with textareas.
2011-08-30 20:45:48 -04:00
Scott González
6fb68568be
Tests: Cleanup.
2011-08-03 21:43:52 -04:00
Scott González
4adb9026ea
Tests: Cleanup.
2011-08-03 17:12:44 -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
bea74f2ae7
Tests: Added test suites to run individual widget tests against all supported jQuery versions.
2011-08-02 20:41:50 -04:00
Scott González
d92b61e865
Tests: Added ability to run tests suites against different versions of jQuery core.
2011-07-28 07:34:31 -04:00
Scott González
19a9de7e66
Merge branch 'master' into core-1.6.1
...
Conflicts:
demos/menubar/default.html
tests/unit/autocomplete/autocomplete.html
tests/visual/effects/effects.all.html
ui/jquery.ui.menu.js
ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
daadc343be
Upgrade jQuery to 1.6.2.
2011-07-25 11:46:45 -04:00
Scott González
2bc6627991
Autocomplete tests: Cleanup.
2011-06-13 14:09:44 -04:00
Jörn Zaefferer
c17f245d98
Autocomplete: Revert fix for #7024 , broke regular menu selection.
...
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
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