Commit Graph

1161 Commits

Author SHA1 Message Date
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