Commit Graph

2721 Commits

Author SHA1 Message Date
Scott González
6d9c77a268 Tabs: Better event binding/unbinding. 2012-06-13 10:40:41 -04:00
Scott González
9608e98149 Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. 2012-06-13 08:00:45 -04:00
Scott González
e8b623207a Tooltip: When calling the content response method multiple times, only update the content, don't do any other processing. 2012-06-13 05:18:48 -04:00
Scott González
3d5c6183a3 Tabs: Removed TODO about making .load() accept nodes; it's unnecessary. 2012-06-12 10:39:32 -04:00
Scott González
9ebeb0616a Tabs: Walk previous tabs (and loop) in refresh() in case the tab we're trying to activate is disabled. 2012-06-12 10:07:16 -04:00
Scott González
9e805c0384 Tabs: Rename internal properties. 2012-06-12 09:11:49 -04:00
Scott González
f0d4da8903 Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-name ) doesn't work. 2012-06-11 13:30:03 -04:00
Scott González
4866182dee Tabs: jQuery <1.7.2 treats .data() as a getter if the value to set is undefined. 2012-06-11 10:43:04 -04:00
Scott González
48588d3bef Tabs: Implement ARIA + Key handling. Fixes #3079 - Tabs: keyboard accessibility. Fixes #7845 - Tabs: default accessibility. 2012-06-08 22:26:05 -04:00
Mike Stay
6dcc5c14c8 Datepicker: Pulled event handlers into static code. Fixed #3945 - DatePicker does not respond to any click events in AIR, Google Sites, Windows Metro. 2012-06-06 09:59:15 -04:00
Amir E. Aharoni
8f42ab0134 Datepicker: Changed Arabic dayNamesMin to one-letter strings. Fixes #8375 - Datepicker: Incorrect dayNamesMin for Arabic locale.
Before this change the minimal names for days of week were the same
as the long names. This caused the datepicker to be too wide.

The one-letter strings come from the CLDR:
http://unicode.org/repos/cldr-tmp/trunk/diff/summary/ar.html
2012-06-01 10:41:32 -04:00
kborchers
2da2ae5070 Menu: Properly remove submenu carat icons and menu dividers during destroy and add a test for this functionality 2012-06-01 00:03:16 -05:00
kborchers
6e7ee98603 Menu: Add comment explaining extra filter from keypress 2012-05-31 23:03:51 -05:00
kborchers
ef9a0c005c Menu: Typo in comment 2012-05-31 19:55:18 -05:00
kborchers
94d87c8ad6 Menu: Don't remove the icon elements on destroy since they exist in the original markup 2012-05-31 19:54:12 -05:00
Jörn Zaefferer
e0fe788ee0 Accordion: Update activate and beforeActivate event properties to newPanel/oldPanel (instead of content). Fixes #6840 and #6842 2012-05-30 14:41:58 +02:00
Scott González
fe567eb958 Tabs: Properly remove generated aria-controls attributes on destroy. 2012-05-30 08:01:02 -04:00
kborchers
240b22b143 Dialog: Use new uniqueId method for generating id's 2012-05-29 23:11:42 -05:00
kborchers
9f59d01fdc Tabs: Remove aria-controls attribute during destroy 2012-05-29 22:25:23 -05:00
kborchers
d44f3d079e Menu: Use new uniqueId and removeUniqueId methods for generating id's on menus and menu items and for removing those id's during destroy. Also, properly remove the aria-disabled attribute during destroy. 2012-05-29 21:13:45 -05:00
kborchers
40e47c0b08 Core: Add the uniqueId() and removeUniqueId() methods written by @scottgonzalez to provide a generalized way of generating and removing generated element id's. Also, added a unit test. Fixed #8361 - Add uniqueId() and removeUniqueId() 2012-05-29 21:13:17 -05:00
Pavel Stetina
0bbad349b9 Datepicker: Corrected language code for Georgian language according to ISO 639. Fixed #8356 - jquery.ui.datepicker-ge.js has wrong language code. 2012-05-29 10:20:02 -04:00
Scott González
234ced07ef Tabs: Simplify _findActive() now that hrefs are never used. 2012-05-29 10:04:20 -04:00
Danny Trunk
6e2f95f59d Tabs: Added heightStyle option. Fixed #8345 - Tabs: Add heightStyle option. 2012-05-28 15:11:20 -04:00
Scott González
be784b2f79 Menu: Added a comment about which characters are checked for dividers. 2012-05-25 12:58:40 -04:00
Jörn Zaefferer
3f9adca042 Interaction: Linting 2012-05-25 17:12:06 +02:00
Jörn Zaefferer
9f454b2f3d Interaction: Pass widget() result to _bind call to allow binding to elements outside this.element 2012-05-25 17:10:16 +02:00
Jörn Zaefferer
8b47438d6c Merge branch 'master' into interactions 2012-05-25 17:07:42 +02:00
kborchers
fe7ca1f1c3 Menu: Better handling of divider elements and menu items without anchors. 2012-05-24 23:45:12 -05:00
Scott González
f63bb4fbc4 Menu: Minor cleanup. 2012-05-24 21:15:55 -04:00
Scott González
03da6e41f6 Autocomplete: Remove left-over clearTimeout( this.closing ). 2012-05-24 16:16:27 -04:00
Scott González
6a48cda458 Accordion: Make sure there's always one header with tabindex=0. Fixes #8348 - Accordion: Collapsed accordion is removed from tab order. 2012-05-24 15:46:22 -04:00
Scott González
1af21ce27d Spinner: Use _destroy() instead of destroy(). 2012-05-24 15:21:35 -04:00
Scott González
79e4ae93b5 Droppable: Fixed destroy method. 2012-05-24 15:20:10 -04:00
Scott González
446d8b7f4c Selectable: Fixed destroy method. 2012-05-24 15:18:04 -04:00
Scott González
ae3d3515a7 Resizable: Fixed destroy method. 2012-05-24 15:16:28 -04:00
Scott González
4da1716cfd Draggable: Fixed destroy method. 2012-05-24 15:10:49 -04:00
Viktar Varvanovich
a0c18ea250 Draggable: Apply ui-draggable-dragging class prior to calculating dimensions. Fixes #8349 - Draggable: Incorrect dimensions used if .ui-draggable-dragging changes dimensions 2012-05-24 14:31:52 -04:00
Scott González
a1f604eb45 Accordion: Coding standards. 2012-05-24 08:37:01 -04:00
Scott González
d0ef9d6fb2 Autocomplete: We no longer need to remove aria attributes on destroy. 2012-05-23 19:28:52 -04:00
Scott González
164e46e9aa Accordion: Use .show()/.hide() for initial panel visibility. 2012-05-23 15:57:48 -04:00
Scott González
c1dc1911bf Tabs: Whitespace. 2012-05-22 16:22:40 -04:00
Scott González
ad1b647973 Tabs: Don't blur anchors on activation. 2012-05-22 15:13:45 -04:00
Scott González
bbb44f9e67 Tabs: Use ._bind() for main event handling. 2012-05-22 15:12:38 -04:00
Scott González
9b37ed24ce Tooltip: Use this instead of that when possible. Saves 24 bytes :-) 2012-05-22 13:46:33 -04:00
Jörn Zaefferer
0c87dd1f45 Tooltip: Cleanup comments 2012-05-22 18:34:00 +02:00
Scott González
b6cc9dd870 Tooltip: Handle multiple aria-describedby values. 2012-05-22 11:06:44 -04:00
Jörn Zaefferer
9dcd0e0eb8 Menu: Handle SPACE same as ENTER, select items or opening submenus 2012-05-22 16:01:40 +02:00
TJ VanToll
1f1613852c Button: Corrected default label applied to submit buttons. Fixed #8337: Submit inputs don't automatically set label option. 2012-05-22 08:43:21 -04:00
Scott González
286941ef8d Dialog: Only create the button pane once and store a reference to it. Fixes #8343 - _createButtons removes all elements with .ui-dialog-buttonpane class. 2012-05-22 08:28:53 -04:00
Courthead
c42bdcecf8 Sortable: calculating item positions on the fly and setting the direction variable when inserting an item into a different sortable. Fixed #8268 - Items may not be inserted into the correct position when dragged between connected sortables 2012-05-22 08:00:20 -04:00
Scott González
033f83ffeb Core: Check if jQuery supports inner/outer/Width/Height setters. 2012-05-21 15:29:53 -04:00
Scott González
15ece1f51a Buttonset: Use input[type=*] instead of just [type=*]. 2012-05-21 14:56:18 -04:00
Scott González
e37f599a53 Don't use :submit selector. 2012-05-21 14:53:27 -04:00
Scott González
8b17f68b57 Don't use :reset selector. 2012-05-21 14:50:49 -04:00
Scott González
51863d5a71 Don't use :input selector. 2012-05-21 14:49:49 -04:00
Scott González
b4ca9289cf Don't use :button selector. 2012-05-21 14:42:08 -04:00
Scott González
26b5492441 Button: Fixed version properties. 2012-05-21 13:51:49 -04:00
Scott González
e6f21410ff Don't use :checkbox selector. 2012-05-21 12:47:15 -04:00
Scott González
9ac52deaa2 Don't use :radio selector. 2012-05-21 12:43:35 -04:00
Jörn Zaefferer
1e586dcd48 Menu: Refactor focus method, extract _scrollIntroView method 2012-05-21 16:42:14 +02:00
Jörn Zaefferer
f89971a2c3 Menu: Coding standards 2012-05-21 16:36:33 +02:00
Scott González
5455b1599f Resizable, Slider: Don't use .hover(). 2012-05-21 09:55:56 -04:00
Scott González
44cd5d9186 Tabs: Fixed reference to jQuery. 2012-05-21 08:31:38 -04:00
Scott González
cac6831e34 Autocomplete: Coding standards. 2012-05-18 16:23:03 -04:00
Scott González
5c9d9f9e9d Tabs: Pass the list item instead of the anchor in events; move aria-controls from the anchor to the list item. 2012-05-18 16:11:14 -04:00
kborchers
098dd1404b Autocomplete: Added check to prevent accidental focus of menu-item on page load in Firefox. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved. 2012-05-18 15:55:10 -04:00
Scott González
0adc6f5e17 Menu: Remove need to pass an event for next(), previous(), focus(). 2012-05-18 15:34:47 -04:00
Scott González
f67b69a288 Effects: Lint fixes. 2012-05-17 19:46:43 -04:00
Scott González
a88b94ebeb Tabs: Update todo to reference newer ticket. 2012-05-16 19:22:49 -04:00
Scott González
90705cdffe Tabs: Preparing for when jQuery starts always returning jqXHR objects from $.ajax(). 2012-05-16 17:14:50 -04:00
Scott González
85639bf0fa Autocomplete: Update live region if focus event is canceled. Remove live region on destroy. 2012-05-16 09:43:49 -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
d4318a5f4c Tabs: Replaced fx option with show and hide options. Fixes #8319 - Tabs: Deprecate fx option. 2012-05-14 14:40:06 -04:00
Eneko Illarramendi
1304c50532 Datepicker: Fixed Basque locale. Fixes #8318 - Datepicker i18n: Basque locale incorrect. 2012-05-14 14:27:59 -04:00
Scott González
d393c8b4cb Spinner: Handle async focus events in IE. Fixes incorrect detection of changes. 2012-05-10 17:59:55 -04:00
Scott González
ab4d8b748d Autocomplete: Fixed context for handling async focus in IE; makes change event work properly in IE again. 2012-05-10 12:57:41 -04:00
Scott González
a15d40eb5f Sortable: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
71c0562f51 Selectable: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
84c8ba014e Resizable: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
8fcf7ea828 Dialog: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
282554e900 Slider: Use base destroy method. 2012-05-09 15:42:18 -04:00
Scott González
d89b8f0509 Slider: Remove uses of self var; use new APIs or that var. 2012-05-09 15:29:14 -04:00
Jörn Zaefferer
653673ed64 Tooltip: Fix the accessible properties IE exposes 2012-05-09 18:26:19 +02:00
Scott González
a1b9fbfe75 Autocomplete: Remove uses of self var; use new APIs or that var. 2012-05-09 09:20:20 -04:00
kborchers
4e28500391 Menu: Whitespace 2012-05-08 23:57:56 -05:00
kborchers
97cb7decee Menu: Remove close delay for keyboard interaction to fix an issue with properly adding and removing ui-state-active class during quick navigation through submenus 2012-05-08 23:53:14 -05:00
Scott González
04ba0a254a Accordion: Don't change corner classes on the collapsing panel's header until after the animation completes. Fixed #8224 - bug: Accordion corner style applying order. 2012-05-08 15:08:05 -04:00
Scott González
a7e143b4fe Effects: Check for anonymous content being exposed via document.activeElement. Fixes #8288 - Regression: jquery-ui animations focus fix causes Firefox Security Manager veto. 2012-05-07 10:32:42 -04:00
Scott González
650fe5c5db Dialog: Removed trailing whitespace. 2012-05-07 09:57:18 -04:00
Jay Merrifield
cab4c467d9 Dialog: Handle escape for all overlays. Fixes #8300 - Dialog: Incorrect behavior for ESCAPE with multiple modal dialogs. 2012-05-07 09:44:26 -04:00
martinf55
32f356bbfa Sortable: Moved change of helper position css. Fixed #5321 – Helper in a bottom-positioned Sortable is positioned wrong on drag start. 2012-05-07 09:04:11 -04:00
Scott González
dbf31da79f Tooltip: Only check if the element is active if the event that is causing the tooltip to close is not focusout. 2012-04-30 13:31:14 -04:00
Jason Moon
b8b0c52830 Sortable: update placeholder when axis is x or y. Fixed #8274 - placeholder doesn't move when dragging outside of container element 2012-04-30 13:04:18 -04:00
TJ VanToll
27d1023553 Draggable: Don't run stop methods for elements that have been removed. Fixed #8269 - Removing draggable element on drop : a(this).data("draggable") is undefined. 2012-04-30 12:39:06 -04:00
Scott González
4ab7d53b1c Autocomplete: Prevent the default action on escape when the menu is open. Fixes #8282 - Double escape clear IE form, continue Ticket #7643. 2012-04-30 11:48:37 -04:00
Scott González
21df5c27e3 Revert "Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery UI 1.8.19 don't respect forcePlaceholderSize."
This reverts commit 4f19289c10.
2012-04-30 10:39:06 -04:00
Scott González
b38dd26da0 Revert "Sortable: modified the contents of placeholder to a single "&nbsp;". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."
This reverts commit b6e1f25ab8.
2012-04-30 10:38:51 -04:00
Corey Frang
aacdccc394 Effects Tests: Disabling focus based test - need some help here @scottgonzalez 2012-04-30 01:05:30 -05:00
Corey Frang
fe55b6cddb Effects: Updating unit tests to use some more stable logic hopefully 2012-04-30 00:19:52 -05:00