Commit Graph

1403 Commits

Author SHA1 Message Date
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
gnarf
5fb2468f9f Unit Tests: Cleaning up some code in effects unit tests, removing magic numbers used for animation durations 2011-05-16 21:41:50 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
Scott González
a88d55e60e Tabs: Enable test suites for TestSwarm. 2011-05-16 14:42:31 -04:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
David Murdoch
f798b046e0 Update core visual test to allow testing while the window is scrolled. 2011-05-13 22:21:52 +00:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
David Murdoch
2bf45db9a5 Update test to make things a bit easier to test 2011-05-13 20:53:25 +00:00
gnarf
c08cf8ec6c Unit Tests: adding unit test for #7356 2011-05-12 21:09:37 -04:00
Scott González
523790b111 Merge pull request #257 from dcneiner/buttonset-rtl
Fixed #6796
2011-05-12 17:44:13 -07:00
Scott González
7e2a704a07 Merge pull request #260 from gnarf37/effects-unit
Unit Tests: effects: adding some animateClass tests
2011-05-12 17:41:02 -07:00
David Murdoch
e31d707d93 The qunit-fixture were preventing the results from being clicked. Make the results appear on top of the qunit-fixture 2011-05-12 21:07:09 +00:00
David Murdoch
c9c6908434 Another whitespace fix 2011-05-12 20:51:49 +00:00
David Murdoch
dc66f02601 Add tests for position's within 2011-05-12 20:50:16 +00:00
David Murdoch
17be87f34c Whitespace fix 2011-05-12 20:48:01 +00:00
David Murdoch
7bca8c1004 Fix typos in original tests 2011-05-12 20:44:24 +00:00
gnarf
e4204b129d Unit Tests: effects: adding some animateClass tests 2011-05-12 10:22:49 -05:00
David Murdoch
0bda22f443 Update title to reflect test 2011-05-12 14:29:27 +00:00
David Murdoch
396ed559a4 Add a new visual test for position 2011-05-12 14:27:29 +00:00
Doug Neiner
50a4186ef9 Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796. jQueryui - buttonset on rtl 2011-05-12 01:51:05 -04:00
Scott González
8b8f5bff76 Merge pull request #242 from gnarf37/effects-unit
Effects unit tests - Partial fix for #7353
2011-05-11 13:14:13 -07:00
Scott González
caca915888 Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Jörn Zaefferer
83424c6c33 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-11 19:49:16 +02:00
Jörn Zaefferer
b9153258b0 Widget: Added $.widget.extend() which does deep extending, but only on plain objects. 2011-05-11 13:37:40 -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
gnarf
27a7deebf2 Merge branch 'master' into effects-unit
Conflicts:
	ui/jquery.effects.pulsate.js
2011-05-10 16:16:34 -05:00
Scott González
85ac420a1e Tabs: Fixed select event. 2011-05-10 14:04:50 -04:00
Scott González
7fddb1c5b5 Tabs: Fixed show event. 2011-05-10 13:56:59 -04:00
Scott González
319c5eb2c1 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-10 12:35:19 -04:00
Scott González
7e239e2ab2 Merge remote branch 'gnarf37/effects-visual-test' 2011-05-10 11:11:33 -04:00
Jörn Zaefferer
1426f7edf3 Merge remote branch 'origin/master' 2011-05-10 17:10:45 +02:00
Scott González
b546f316be Merge remote branch 'gnarf37/ticket-7067' 2011-05-10 11:00:14 -04: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
ce6209b4e4 Tabs: Remvoed spinner image from tests. 2011-05-10 09:16:16 -04:00
Scott González
36fccdda14 Tabs: Fixed cookie implementation. Fixes #7144 - Tabs: Deprecate cookie option. 2011-05-10 09:15:08 -04:00
Scott González
a205c2c8b8 Tabs: Moved tests out of tickets file. 2011-05-10 08:47:00 -04:00
Scott González
bd6672d257 Tabs: Updated tests for destroy method. 2011-05-09 17:41:43 -04:00
Scott González
0f7075e281 Tabs: Added tests for beforeload event on init. 2011-05-09 17:38:34 -04:00
Scott González
6a9b789bc7 Tabs: Updated tests for disabled option. 2011-05-09 17:10:36 -04:00
Scott González
ea01e7fc50 Tabs: Added tests for event option. 2011-05-09 17:01:11 -04:00
Scott González
f53d117853 Tabs: Added test for abort method. Fixes #7133 - Tabs: Deprecate abort method. 2011-05-09 16:55:31 -04:00
Scott González
9ea6db634f Tabs: Only trigger tabsload on success. 2011-05-09 16:55:31 -04:00
David Petersen
0adeb9b0e1 Tabs: Add tabsload event tests. 2011-05-09 16:55:31 -04:00
Scott González
7157af2550 Tabs: Added tests for cache option. Fixes #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-05-09 15:04:01 -04:00
Scott González
9549686cb3 Tabs: Added test for ajaxOptions. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options.
Thanks gnarf for the unit test idea.
2011-05-09 14:45:57 -04:00
Scott González
5ae44f8a3b Tabs: Refactored spinner implementation. Fixes #7134 - Tabs: Deprecate spinner option. 2011-05-09 12:52:00 -04:00
Scott González
0546cd57bb Tabs: Added tests for idPrefix, tabTemplate, panelTemplate. Fixes #7139 - Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options). 2011-05-09 11:31:01 -04:00
Jörn Zaefferer
e6d1ab7bf4 Popup and Menubar demos 2011-05-08 20:41:21 +02:00
Jörn Zaefferer
cd92ad09f5 Promote menubar and popup to their own top level files 2011-05-07 16:22:04 +02:00
Jörn Zaefferer
5973b4fa3f Popup: Better key handling on trigger, along with a few more TODO comments 2011-05-07 15:18:50 +02:00
Jörn Zaefferer
f7e8331e26 Popup: Improve key handling 2011-05-07 00:43:07 +02:00
Jörn Zaefferer
2cf85da23f Popup/Tooltip: Fix tab order and add notifications (on select) in
video-player demo.
2011-05-07 00:43:07 +02:00
Jörn Zaefferer
fbe982b9fb Popup: If popup is a menu, focus the first menu item, as menubar does. 2011-05-07 00:43:07 +02:00
Jörn Zaefferer
28017052a4 Popup: Fix the reopens-issue when clicking the trigger while popup is
visible, while still handling an actualy blur properly.
2011-05-07 00:43:07 +02:00
Kato Kazuyoshi
2063a113d6 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered. 2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
Jörn Zaefferer
993d37af1d Popup: Rename open flag to isOpen to avoid name conflict with open method. 2011-05-05 14:21:26 +02:00
gnarf
d4bdd19429 effects.test: adding a test for size using toggle 2011-05-04 23:41:42 -05:00
gnarf
c73e40adbe effects.tests: Adding 'size' effect to the visual effect tests 2011-05-04 21:07:12 -05:00
Scott González
116acb4cb2 Merge pull request #200 from kzys/trac-6704-2
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Kato Kazuyoshi
a891e81e06 Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings. 2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398 Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths. 2011-05-05 04:11:48 +09:00
Jörn Zaefferer
fd1b4f84fe Menubar: Code formatting. A bit of cleanup: Replace self with that;
replace an unnecessary each.
2011-05-04 11:50:07 +02:00
Jörn Zaefferer
c7459df062 Popup: Also expose open method 2011-05-04 11:21:30 +02:00
Jörn Zaefferer
018590064f Popup: Prevent SPACE key event on trigger from scrolling the page 2011-05-04 11:20:04 +02:00
Jörn Zaefferer
b96126b398 Popup: Rename _close to close and use it when selecting something within a popup. 2011-05-04 11:14:32 +02:00
Jörn Zaefferer
bba4cb2be6 Popup: Partial fix for closing popup when trigger is clicked again. 2011-05-04 11:06:32 +02:00
gnarf
4dcfeee8d5 Added some better queue order testing 2011-05-04 01:54:47 -05:00
gnarf
d61e0656c5 Merge branch 'master' into effects-unit 2011-05-04 01:38:41 -05:00
Jörn Zaefferer
f519bc0ebb Menubar review 2011-05-04 08:31:14 +02:00
Jörn Zaefferer
8201c13928 Popup: Update popup test 2011-05-04 08:20:41 +02:00
Jörn Zaefferer
f5ee22c74a Popup: Add a non-menu popup example 2011-05-03 22:42:35 +02:00
gnarf
1f3f7bf787 Effects (blind): direction now accepts up/down/left/right as well as vertical(up) and horizontal(left) - Fixes #4480 - Invert the blind effect. 2011-05-03 09:16:30 -04:00
Scott González
cbce3585bc Tabs: Added tests for deprecated select method. Fixes #7138 - Tabs: Deprecate select method. 2011-05-03 07:48:08 -04:00
Scott González
75f7a786ae Tabs: Clean up some tests. 2011-05-03 07:14:33 -04:00
Scott González
92bcb2504f Tabs: Fixed back-compat for selected option. Fixes #7135 - Tabs: Rename selected option to active. 2011-05-03 07:14:19 -04:00
Scott González
45c727d75e Tabs: Fixed enabled and disabled methods. Fixes #7142 - Tabs: Deprecate enable and disable events. 2011-05-03 06:31:12 -04:00
Jean-Francois Remy
5e44b3ce88 Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled. 2011-05-03 04:38:17 -04:00
Jörn Zaefferer
b2b7d9a8b0 Tooltip: Fix (most) of the unit tests. Not all issues resolved, but
enough for testswarm results to be useful.
2011-05-02 21:04:56 +02:00
Jörn Zaefferer
9ea5b5d4e5 Fix menu unit tests (regression fron Hans' branch) 2011-05-02 20:35:58 +02:00
Jörn Zaefferer
5c47098829 Add simple error handling for domEqual method (was failing for menu, output not helpful). 2011-05-02 20:35:49 +02:00
Jörn Zaefferer
94b7e6bf18 Tooltip: Add drop effect to tooltip animations test 2011-05-02 14:56:53 +02:00
Jörn Zaefferer
804a6ca7bf Tooltip: Add visual testpage for animations 2011-05-02 14:40:26 +02:00
gnarf
c5c65dbac6 Merge branch 'ticket-7067' into effects-unit
Conflicts:
	ui/jquery.effects.pulsate.js
2011-05-01 06:26:43 -05:00
gnarf
ec5aeb1b15 Unit Tests: Adding some basic unit tests for effects.* modules 2011-05-01 06:23:19 -05:00
gnarf
4a4d7e4b73 Merge branch 'master' into effects-unit 2011-05-01 05:12:17 -05:00
Scott González
468e66ae62 Tabs: Added tests for add and remove events. 2011-04-28 22:12:59 -04:00
Scott González
1bacdec6be Tabs: Cleaned up add and remove methods. 2011-04-28 21:35:04 -04:00
Scott González
09faa7c9fa Tabs: Added more tests for refresh method and changed the implementation a bit. 2011-04-28 14:38:57 -04:00
David Petersen
5d23e8eacd Tabs: Fix issues with refresh method, add refresh method tests 2011-04-28 13:13:42 -04:00
Scott González
d819cdd3a9 Tabs: Fixed disable method and cleaned up tests for enable and disable methods. 2011-04-28 12:04:08 -04:00
David Petersen
0e7769c669 Tabs: enable/disable handle when current state already matches, fix error when disabled = true and enable gets called 2011-04-28 09:37:56 -04:00
Jörn Zaefferer
cd61fb1b55 Merge branch 'master' into menubar
Conflicts:
	ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02: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
Hans Hillen
f7d2fdbab8 removed unbind for focusin and focusout 2011-04-23 17:35:03 +02:00
Hans Hillen
54795b5650 change self.open to this.open 2011-04-23 17:31:25 +02:00
Hans Hillen
42e11d8e41 Fix error for Escape key on menubar item 2011-04-22 23:11:53 +02:00
Hans Hillen
45c418d293 Added focusin & focusout handler for menubar 2011-04-22 20:22:16 +02:00
Hans Hillen
03132f93fc Fix menubar escape key + minor css fix 2011-04-20 20:15:26 +02:00
jzaefferer
7f4619afdc Menu: Drop statis test pages. default was outdated, icons is replaced by actual icons support as part of menu. 2011-04-20 17:19:15 +02:00
jzaefferer
34e3a2401a Menu: Add icons support 2011-04-20 17:18:15 +02:00
Hans Hillen
d77185a5a1 Fix "menubar does not collapse when clicking on other menubar" + minor changes 2011-04-18 23:05:50 +02:00
jzaefferer
5076f233db Close popup when blurred and make sure that shift-tab when popup is open
skips the trigger.
2011-04-18 17:07:08 +02:00
Hans Hillen
e448cd0761 Added icon removal to _destroy 2011-04-15 20:31:43 +02:00
Hans Hillen
c6cbd8143b Updated menubar test to use UL elements rather than DIVs 2011-04-15 19:19:27 +02:00
Hans Hillen
8a0df90bf1 Accessibility / bug fixes for menubar 2011-04-15 19:18:58 +02:00
Scott González
4547da1ba5 Accordion tests: Coding standards. 2011-04-15 11:29:26 -04:00
Scott González
ae8963f054 Tabs: Rewrote some ticket tests and moved to approriate file. 2011-04-15 11:04:49 -04:00
Scott González
d3e10de6bc Tabs: Better tests for tab state. 2011-04-15 08:53:05 -04:00
jzaefferer
00559b388a Update popup utility: Defer _open call and let click event propagate.
Fixes other popups to close. Also update aria usage.
2011-04-13 18:37:32 +02:00
jzaefferer
67d49f593b Overhaul tooltip implementation. Avoid queuing and other problems by
creating the tooltip element on the fly, never reusing it.
Use aria-describedby attribute to find the associated tooltip again.
Allows customizing animations much easier (just replace fadeIn/fadeOut),
still open.
Updated demos and visual test to replace now-missing .widget() method.
Added tooltipClass for that.
2011-04-13 14:01:46 +02:00
Scott González
bc65675330 Tabs: Fixed issues with collapsible and active options. 2011-04-11 13:49:22 -04:00
Scott González
ccac8cd492 Tabs: Updated references to .ui-tabs-selected to use .ui-tabs-active. 2011-04-11 10:08:32 -04:00
Richard Worth
7272f3bdef Progressbar: Added unit test for #7231 - valueDiv should be hidden when value is at 0% 2011-04-09 14:53:15 -04:00
jzaefferer
9d9e1ce122 Adding popup utility prototype to visual menu tests 2011-04-08 15:31:06 +02:00
Scott González
d573a92beb Tabs: Added tests for aria-controls attribute being assigned on init. 2011-04-07 13:53:20 -04:00
Richard Worth
54016b8469 Sortable: Reverted 56b0da59d7 as #4551 is invalid. 2011-04-07 09:08:48 -04:00
Scott González
bc6a28ee03 Tabs: Cleaned up _tabId() implementation. 2011-04-05 21:39:02 -04:00
Scott González
168ab6656d Tabs: Updated test for deprecated length method. 2011-04-05 20:07:27 -04:00
Scott González
7aad37bfd5 Tabs: Better handling of active option and various cleanup. 2011-04-05 16:53:52 -04:00
Scott González
ff84d58444 Tabs: Pass appropriate data for beforeLoad event. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-04-05 11:28:05 -04:00
Scott González
995518c10f Tabs: cleanup. 2011-04-04 17:06:13 -04:00
Scott González
1fc91f90d0 Tabs: Pass appropriate data for activate event. Fixes #7137 - Tabs: Rename show event to activate. 2011-04-04 15:28:33 -04:00
Scott González
316d0af8fb Accordion: Added test to ensure activate event is not triggered if beforeActive is prevented. 2011-04-04 15:26:32 -04:00
Scott González
e19d8261c1 Tabs: Properly handle switching from active: false. 2011-04-04 14:27:38 -04:00
Scott González
9a1d8891b7 Accordion: Removed unnecessary test. 2011-04-04 12:00:04 -04:00
Scott González
80b6de1b78 Accordion: Pass original event in beforeActivate event. 2011-04-04 11:53:19 -04:00
Scott González
01b92ff1a0 Accordion tests: Only use single words inside headers to avoid breaking onto multiple lines. 2011-04-04 11:43:58 -04:00
Scott González
af04a89df7 Accordion tests: Only use single words inside headers to avoid breaking onto multiple lines. 2011-04-04 11:33:09 -04:00
Scott González
632e6c7618 Tabs: Pass appropriate data for beforeActivate event. Fixes #7136 - Tabs: Rename select event to beforeActivate. 2011-04-04 11:22:32 -04:00
Scott González
fdedf1616d Tabs: Test cleanup. 2011-04-04 10:11:19 -04:00
Scott González
fd1fd618cc Tests: Renamed files for deprecated tests now that TestSwarm is setup to properly handle them. 2011-04-04 09:19:20 -04:00
Scott González
275897e731 Accordion tests: lowercase doctype. 2011-04-04 09:12:08 -04:00
Scott González
255a8dbba5 Tests: Allow overriding enable and disable methods to add custom logic. 2011-03-29 20:38:58 -04:00
Scott González
91c2f3eca0 Visual tests: Removed index page. A directory listing of all files is more useful than an incomplete listing of tests. 2011-03-29 18:21:04 -04:00
Scott González
6c6a64c40c Dialog: Removed unnecessary visual test files. 2011-03-29 18:18:21 -04:00
gnarf
d6379d11e3 unit tests: updating unit test boilerplate for effects 2011-03-29 15:57:42 -05:00
gnarf
0c009730ce unit tests: adding an empty effects unit test page 2011-03-29 15:32:48 -05:00
Scott González
fa13c4a602 Merge branch 'tabs_1.9' of https://github.com/petersendidit/jquery-ui into petersendidit-tabs 2011-03-29 15:40:28 -04:00
David Petersen
e9ae04a394 Tabs: CSS Consistency Updates. Fixes #7146 Tabs: CSS Consistency Updates 2011-03-29 07:44:01 -04:00
David Petersen
cb0588f2dd Tabs: Deprecate cookie option. Fixes #7144 Tabs: Deprecate cookie option 2011-03-28 22:46:31 -04:00
David Petersen
c6a6ef5ee6 Tabs: Deprecate select method. Fixes #7138 Tabs: Deprecate select method 2011-03-28 22:28:59 -04:00
Scott González
2197c61f1f Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable. 2011-03-28 17:34:04 -04:00
Scott González
d236c0d6e1 Draggable: Removed empty tickets test file. 2011-03-28 12:41:29 -04:00
Scott González
43ac0578c5 Droppable: Removed empty tickets test file. 2011-03-28 12:41:07 -04:00
Scott González
3a5fe07c2e Progressbar: Removed empty tickets test file. 2011-03-28 12:40:38 -04:00
Scott González
c7c8a80069 Resizable: Removed empty tickets test file. 2011-03-28 12:40:17 -04:00
Scott González
41fb07d28c Selectable: Removed empty tickets test file. 2011-03-28 12:39:55 -04:00
Scott González
3206386bdf Slider: Removed empty tickets test file. 2011-03-28 12:38:32 -04:00
Scott González
78b17f9d76 Widget: Moved tests out of _tickets into _core. 2011-03-28 12:37:08 -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
Scott González
ec4825535d Accordion: Removed empty ticket test file. 2011-03-28 11:15:29 -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
David Petersen
8b0c3618bd Tabs: Rename select event to beforeActivate. Fixes #7136 Tabs: Rename select event to beforeActivate 2011-03-27 17:02:58 -04:00
David Petersen
787efd307a Tabs: Rename show event to activate. Fixes #7137 Tabs: Rename show event to activate 2011-03-27 16:55:05 -04:00
David Petersen
9a00fd4c5e Tabs: Rename selected option to active. Fixes #7135 Tabs: Rename selected option to active 2011-03-27 16:42:30 -04:00
David Petersen
c363019590 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) Fixes #7139 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) 2011-03-27 16:42:19 -04:00
David Petersen
1e2d3145ff Tabs: Deprecate url method; use aria-controls instead of title to specify panels. Fixes #7132 Tabs: Deprecate url method; use aria-controls instead of title to specify panels 2011-03-27 14:56:20 -04:00
gnarf
504e599569 effects.tests: changing the way the effects test runs - using delay() instead of callbacks can help us see if we have places where we destroyed the queue 2011-03-27 06:32:04 -05:00
David Petersen
8b89febbbb Tabs: split up _tabify, create refresh method. Fixes #7140 Tabs: Add refresh method 2011-03-26 21:02:17 -04:00
David Petersen
03eb54b379 Tabs: Deprecate the length method. Fixes #7143 Tabs: Deprecate the length method 2011-03-26 21:02:17 -04:00
David Petersen
e378876918 Tabs: Deprecate add and remove methods Fixes #7141 Tabs: Deprecate add and remove methods 2011-03-26 21:02:13 -04:00
David Petersen
e5f081bc1c Tabs: Deprecate enable and disable events. Fixes #7142 Tabs: Deprecate enable and disable events 2011-03-26 21:00:45 -04:00
David Petersen
e7971c9077 Tabs: Deprecate spinner option. Fixes #7134 Tabs: Deprecate spinner option 2011-03-26 21:00:45 -04:00
David Petersen
aeaaf93ebb Tabs: Add beforeload event; deprecate ajaxOptions and cache options. Fixes #7131 Tabs: Add beforeload event; deprecate ajaxOptions and cache options 2011-03-26 21:00:34 -04:00
Scott González
6fc98deef0 Widget: Allow setting individual properties of deep options. Fixes #7035 - Widget: Extend .option() to set partial nested options. 2011-03-24 09:21:53 -04:00
Scott González
a2015497fc Progressbar: Removed visual test pages. 2011-03-23 10:31:12 -04:00
Scott González
928c7e4e9a Tabs: Removed visual test pages. 2011-03-23 10:30:08 -04:00
Scott González
6af1e7a51d Autocomplete: Removed visual test pages. 2011-03-23 10:28:54 -04:00
Scott González
d847a1ee20 Accordion: Removed visual test pages. 2011-03-23 10:26:10 -04:00
Scott González
aa235d42b3 Static tests: Removed highlight/error, overlay and index pages. 2011-03-23 10:14:29 -04:00
Scott González
e562ef76d9 Tabs: Removed static test pages. 2011-03-23 10:11:07 -04:00
Scott González
2a09fccd0b Progressbar: Removed static test pages. 2011-03-23 10:10:30 -04:00
Scott González
8009d00f7e Interactions: Removed static test pages. 2011-03-23 10:09:54 -04:00
Scott González
bf7237bad8 Dialog: Removed static test pages. 2011-03-23 10:08:28 -04:00
Scott González
b85e11564a Accordion: Removed static test pages. Added unit tests for dl markup structure. 2011-03-23 10:07:09 -04:00
Scott González
aaa21ddb0c Accordion tests: Fixed indentation. 2011-03-23 09:51:42 -04:00
Scott González
f77224055a Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - Widget: Make the widget method maintain the stack. 2011-03-22 14:35:18 -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
Scott González
de5a98e7bc Position: Split out tests for deprecated offset option. 2011-03-22 13:25:28 -04:00
Scott González
221dcd7027 Position: Coding standards. 2011-03-22 13:12:03 -04:00
Scott González
6f051d5d6a Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets. 2011-03-22 12:25:25 -04:00
Scott González
923b5b67b9 Merge branch 'tabs_4386' of https://github.com/petersendidit/jquery-ui 2011-03-21 11:30:11 -04:00
David Petersen
710d7620e7 Tabs: Fix disable and enable methods to correctly handle when index is undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386 2011-03-21 09:18:19 -04:00
jzaefferer
93fd447493 Use QUnit.push instead of assertion method for custom assertions to get
correct filename and line number output
2011-03-20 15:56:48 +01:00
jzaefferer
c0f7afd160 Menubar: Don't close active menu on mouseenter of associated button 2011-03-17 15:47:56 +01:00
jzaefferer
80d6d358f2 Menubar: on a single-button menubar, ignore reopening the same menu 2011-03-17 15:44:09 +01:00
jzaefferer
cb17d6d209 Menubar: Another fix for tab/focus handling 2011-03-17 15:37:27 +01:00
jzaefferer
24d1952045 Menubar: Fix closing with escape key 2011-03-17 15:26:06 +01:00
jzaefferer
133137b39b Menubar: Focus/tab handling, improved much 2011-03-17 15:10:25 +01:00
jzaefferer
d4a81ec043 Menubar: Put focus back to button when closing menu 2011-03-17 14:23:35 +01:00
jzaefferer
b53f242d2c Menubar: Close submenus on Escape first, only close all when on top-level 2011-03-17 13:58:57 +01:00
jzaefferer
37fee24ea6 Menubar: Handle cursor UP/DOWN to open menu 2011-03-17 12:04:22 +01:00
jzaefferer
2e38e04535 Menubar: Handle ESCAPE to close and refactor document-click code to also use _bind 2011-03-17 12:00:37 +01:00
jzaefferer
4f8c913b4a Menu: menubar cleanup 2011-03-17 11:51:38 +01:00
jzaefferer
4a04ad2019 Menu: Fix menubar tab and focus handling 2011-03-17 11:50:21 +01:00
jzaefferer
2ddf83faf3 Menu: More test markup 2011-03-17 10:35:18 +01: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
056cab82d8 Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected 2011-03-15 04:30:36 -04:00
jzaefferer
5bc57a82c8 Menu: Add menubar-with-one-button-in-table example. 2011-03-11 18:17:28 +01:00
jzaefferer
5a5a809e7f Menu: Improve CSS on testpage 2011-03-11 18:17:28 +01:00
ddstreet
0b30a1d450 Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases 2011-03-11 10:52:13 -05:00
Scott González
3875cf63e4 Merge branch 'effects-api' of https://github.com/gnarf37/jquery-ui into gnarf37-effects-api 2011-03-09 10:01:07 -05:00
Richard Worth
58480d81d3 Unit tests: removed no longer utilized tickets.js files for Menu and Tooltip 2011-03-08 14:22:48 -05:00
Jay Merrifield
f9996682b5 Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs. 2011-03-08 09:42:10 -05:00
Scott González
8a0394debe Mouse visual test: Bump jQuery version. 2011-03-08 00:52:07 -06:00
awgy
1ac9aa49fb Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko 2011-03-08 00:52:07 -06:00
Douglas Neiner
6008a30fcb Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing 2011-03-08 00:52:07 -06:00
Richard Worth
103744415c Switched to latest stable jQuery 1.5.1 2011-03-08 00:52:06 -06:00
Scott González
d7979a8b71 Mouse visual test: Bump jQuery version. 2011-03-07 10:50:47 -05:00
Scott González
d4b2e494f9 Merge branch 'master' of https://github.com/voxwerk/jquery-ui into voxwerk-master 2011-03-07 10:47:33 -05:00
gnarf
8ce879e51b Adding fade to the tests 2011-03-06 15:24:48 -06:00
Douglas Neiner
15c97e0b76 Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing 2011-03-03 09:37:16 -05:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
gnarf
0b18671d28 Should add a visual test for the standard show/hide method to make sure we don't break it by overriding it 2011-03-02 19:46:19 -06:00
jzaefferer
58b730f7c7 Menubar: Close menu on input click when already open 2011-02-28 22:53:06 +01:00
jzaefferer
f76e7498e7 Menubar: Remove dependency on button and simplify CSS accordingly. 2011-02-28 22:49:49 +01:00
Scott González
ffb96bc972 Widget tests: Work around a bug in jQuery core in IE 9rc. 2011-02-26 13:31:45 +01:00
jzaefferer
48f060ac25 Spinner: Ignore delta of 0 from triggered mousewheel event. Verified
that mousewheel scrolling actually works fine in IE6.
2011-02-26 12:10:52 +01:00
jzaefferer
9ac6bde8a9 Accordion: Improve unit test to get consistent results on mobile devices 2011-02-26 11:48:56 +01:00
jzaefferer
3d3b5dd1e7 Position: Test for window scrollTop support and run scrolled window test
only when support is there. Should exclude mobile devices, getting the
position testsuite to produce more useful results.
2011-02-26 11:25:41 +01:00
jzaefferer
baf28d2c9d Menu: Cleanup contextmenu demo and fix aria unit test to ignore empty
string values
2011-02-25 18:58:44 +01: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
jzaefferer
b65583a029 Menu: Cleanup unit test page 2011-02-25 11:16:16 +01:00
jzaefferer
643e20ca3d Menu: Optimize menu positioning in menubar 2011-02-24 23:03:58 +01:00
jzaefferer
105ef8b851 Menu: Add ui-state-active to active menu bar button 2011-02-24 22:57:44 +01:00
Scott González
bed6def5c0 Autocomplete tests: Fixed various bugs in various versions of IE. 2011-02-24 22:55:24 +01:00
maggiewachs
c2f9677252 Merge branch 'master' of github.com:jquery/jquery-ui 2011-02-24 16:00:56 -05:00
maggiewachs
63a72814be Added two options to set the button style and add down arrow icons 2011-02-24 16:00:32 -05:00
maggiewachs
75afd3319b Added a second example to show a menubar with buttons and icons and one without (default) 2011-02-24 16:00:01 -05:00
jzaefferer
b8f3e5b1c0 Menu: Fix testsuite, new option 2011-02-24 21:29:48 +01:00
maggiewachs
9e7820a258 Added another nested list for testing 2011-02-24 11:35:34 -05:00
maggiewachs
af0db70ae4 Line 58: document click function was missing event parameter 2011-02-24 11:16:15 -05:00
maggiewachs
b50fa469a4 Added menubar styles and removed ui-widget-header class from markup 2011-02-24 11:06:47 -05:00
maggiewachs
9340da37b7 Added ui-* classes to widget container 2011-02-24 11:06:12 -05:00
maggiewachs
7b3a4e71d3 Added menubar styles 2011-02-24 11:05:24 -05:00
jzaefferer
84d59ded92 Menu: Update menubar to use menu instead of removed flyoutmenu. 2011-02-24 16:39:08 +01:00
jzaefferer
0ddf677e40 Menu: Integrated flyoutmenu into menu, and moved flyoutmenu.html
testmenu into contextmenu.html
2011-02-24 15:51:51 +01:00
jzaefferer
38cfcfffe9 Menu: Update autocomplete to use deactivate and check for focus class 2011-02-24 12:05:20 +01:00
jzaefferer
5c687be331 Menu: Refactoring flyout menu in prepartion for merging into menu 2011-02-24 11:14:20 +01:00
jzaefferer
6bd95efe5e Menu: Fix filter matching to work with flyout menu 2011-02-24 11:14:19 +01:00
jzaefferer
5d3f91bcbe Menu: Move item matching code into menu 2011-02-24 11:14:19 +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
ee34b0dabb Menu: Get rid of .css(top:0,left:0) workaround, not necessary anymore 2011-02-24 10:22:50 +01:00
jzaefferer
3f353cc8fb Menu: Update unit test to use focus instead of activate method 2011-02-24 10:07:24 +01:00
jzaefferer
0d659d44c3 Menu: Rename activate to focus and deactivate to blur method 2011-02-24 10:06:08 +01:00
jzaefferer
d7682daaa8 Menu: Add some testing for ensure that id-attributes aren't overwritten. 2011-02-23 17:01:19 +01:00
jzaefferer
c37637ee99 Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use 2011-02-23 12:46:13 +01:00
jzaefferer
6597d3eafb Drop unused tests/unit/defaults.html. If any, we need to composite suite
that runs everything, not just defaults.
2011-02-23 12:39:25 +01:00
jzaefferer
98fef9cde5 Menu: Test page for table-based menu (hackity hack) 2011-02-23 12:26:43 +01:00
jzaefferer
ddfd5e632c Menu: Introducing position option into flyout menu 2011-02-23 12:12:29 +01:00
jzaefferer
faa4b970a7 Menu: Rename nested.html to flyoutmenu.html, updated headers 2011-02-22 16:15:11 +01:00
jzaefferer
f8091f761c Menu: Overhauled menubar, again starting with Michael Lang's fork. Added
working keyboard navigation, including nested menus. Still need to
properly style the menu buttons, e.g. highlight the button of the
currently open menu.
2011-02-22 15:14:12 +01:00
jzaefferer
68c13cd6a6 Menu: Escape characters for RegExp matching for keyboard item matching. 2011-02-22 12:09:03 +01:00
jzaefferer
355705878a Menu: Overhauled nested menu via flyoutmenu.js backported from Michael
Lang's fork. Changed key input handling by setting focus to menu,
getting rid of input option.
2011-02-22 11:51:08 +01:00
jzaefferer
1c7ab042fa Disable dialog tests on TestSwarm until we can get some running in IE6
without freezing the browser.
2011-02-21 22:26:38 +01:00
jzaefferer
a1ebed70e3 Unit tests: Add QUnit toolbar for hiding passed tests 2011-02-21 20:39:35 +01:00
Scott González
f70f01af9e Accordion: Handle changing the event option. Fixes #6740 - Dynamically changing accordion's event handler doesn't actually change the behaviour. 2011-02-21 16:07:59 +01:00
jzaefferer
84a4a4442d Merge branch 'master' of github.com:jquery/jquery-ui 2011-02-21 14:45:54 +01:00
jzaefferer
5082e3e971 Menu: Fix visual test to use select event (was selected) 2011-02-21 10:38:30 +01:00
jzaefferer
b107181bbb Fix datepicker tests to pass in Chrome and run faster by letting QUnit
handle the staggered proessing (renders at least once per second, faster
then rendering after each test). Disabled broken manual-entry tests
after confirming its only an issue in the test, not the impl.
2011-02-18 16:08:17 +01:00
William Kevin Manire
c94ec23b26 Widget: modified widget to throw exception on attempt to call private methods. Fixed #6947 - Attempt to access private member of widget returns jQuery object 2011-02-16 00:28:32 -08:00
Dan Heberden
5c3dc7d48a Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object 2011-02-15 10:15:46 -08:00
David Petersen
8ef8d2d877 Tabs: Pass original event for show and select events. Fixes #5043 - Tabs: pass original event. 2011-02-15 08:56:19 -05:00
jzaefferer
c4a7f45dbc Tooltip: Added missing items test 2011-02-11 16:01:23 +01:00
jzaefferer
cfa4833fe9 Merge branch 'master' of github.com:jquery/jquery-ui 2011-02-11 15:44:56 +01:00
jzaefferer
e69839ae6a Menu: Fix unit tests and set the right menu1-activedescendant attribute 2011-02-11 15:42:44 +01:00
Richard Worth
c8063f9252 Added swarminject.js for menu, spinner, and tooltip test pages. Fixes unit tests to run correctly on swarm.jquery.org 2011-02-11 09:40:10 -05:00
Scott González
6096aed0a3 Widget: Fixed super methods with deep inheritance chains. 2011-02-10 21:25:50 -05:00
awgy
cf0649ed6a Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko 2011-02-05 07:45:37 -06:00
Scott González
ee88a56243 Widget: Added ability to use $.widget() to create extensions. Fixes #6937 - Widget: Allow redefining a widget to create extensions. 2011-02-03 16:37:17 -05:00
Scott González
678ff6326a Added version property to plugins that were missing them. 2011-02-03 12:01:26 -05:00
Scott González
a4da197a91 Accordion: Added tests for custom header option. 2011-02-03 10:11:00 -05:00
Scott González
2e17770e54 Accordion: Update active option when programmatically collapsing the accordion. 2011-02-03 10:04:40 -05:00
Scott González
d099e3a3b2 Accordion: Handle negative values for active option on init. 2011-02-03 09:59:05 -05:00
Scott González
714a77f202 Accordion: Properly handle collapsible: false and active: false by changing active to 0. 2011-02-03 09:54:11 -05:00
Michael DellaNoce
b3fcf17471 Widget: Modified _trigger to invoke callbacks with apply so that handlers are invoked the same way .trigger() invokes them. Fixes #6795 - Widget: _trigger passes array arguments to handlers inconsistently. 2011-02-01 06:57:48 -05:00
Scott González
cb8f5b7f26 Merge branch 'master' into widget-events
Conflicts:
	ui/jquery.ui.widget.js
2011-01-31 22:04:09 -05:00
Scott González
17004b9cac Widget: Use focusin/focusout for ._focusable(). 2011-01-31 21:55:22 -05:00
jzaefferer
effbb2c0ec Update wigdet test for previous change. No stored intance via data for
element == instance.
2011-01-31 16:37:50 +01:00
Scott González
7a6dd71f8c Accordion: Allow canceling the beforeActivate event. Fixes #6896 - Accordion: Allow canceling the beforeActivate event. 2011-01-25 00:52:42 -05:00
Scott González
088ef05142 Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate. 2011-01-25 00:05:55 -05:00
Scott González
06d61f5f23 Accordion: More tests. 2011-01-24 22:40:03 -05:00
Scott González
63c72aba0d Tests: Fixed erroneous refernece to accordion. 2011-01-24 22:37:57 -05:00
Scott González
0ef4b4f28a Widget: Added tests for ._hoverable() and ._focusable(). 2011-01-24 21:54:50 -05:00
Scott González
4a384c63ff Widget tests: Remove workaround for old QUnit bug. 2011-01-24 21:31:12 -05:00
Scott González
8034cc3803 Widget tests: Cleanup. 2011-01-24 21:22:40 -05:00
Scott González
2e214f984d Accordion test: Fixed an icon test. 2011-01-24 21:00:39 -05:00
Scott González
25f420eb9a Accordion tests: Cleaned up deprecated tests. 2011-01-24 20:35:58 -05:00
Scott González
5ed1046a4a Accordion tests: Cleanup. 2011-01-24 19:20:09 -05:00
Scott González
ecc0ef53de Accordion tests: Getting really ghetto in an attempt to get deprecated tests to run in TestSwarm. 2011-01-24 16:00:34 -05:00
Scott González
140d90a9a4 Accordion: Test cleanup. 2011-01-24 15:45:29 -05:00
Scott González
c96c249780 Accordion: First pass at splitting out tests for deprecated functionality. 2011-01-24 14:38:23 -05:00