Commit Graph

2653 Commits

Author SHA1 Message Date
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 " ". 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
Scott González
57d18cd6b7 Removed some unused variables. 2012-04-28 17:36:38 -04:00
Scott González
d165a77027 Accordion: Removed unused variables. 2012-04-25 08:39:35 -04:00
Jörn Zaefferer
c660d679b1 Position: Remove at-center guards, take at:center into account instead. Fixes #8127 - collision:flip should be supported for at:center 2012-04-24 17:50:52 +02:00
Jörn Zaefferer
db72cb7e94 Merge branch 'position-notification' 2012-04-24 17:29:16 +02:00
Jörn Zaefferer
252352e124 Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests 2012-04-24 17:23:25 +02:00
Shahyar G
f3b022ddb8 Use length property, instead of the deprecated size() method. 2012-04-23 20:49:57 -04:00
Scott González
0f575e03bb Merge branch 'master' into position-notification
Conflicts:
	tests/unit/position/position_core_within.js
2012-04-23 16:33:34 -04:00
Scott González
822e1c5009 Accordion: Fixed indentation. 2012-04-22 22:15:29 -04:00
Scott González
e55391a419 Datepicker: Added missing quote in Hindi i18n. 2012-04-22 21:44:21 -04:00
Scott González
2357d6d8da Easings: Save a byte. 2012-04-20 13:58:33 -04:00
Scott González
a166540251 Use .jshintrc files. 2012-04-20 11:19:27 -04:00
Scott González
308b55e50c Merge branch 'master' into position-notification 2012-04-20 11:06:11 -04:00
Scott González
2cf9948cad Position: Use offsets for all calculations in feedback API. 2012-04-20 11:02:50 -04:00
Scott González
22b7f9a819 Position: Use targetElem for events to maintain consistency. 2012-04-20 10:12:14 -04:00
Scott González
a9f1ffb4fd Position: Simplify border calculations for feedback. 2012-04-20 10:10:02 -04:00
Jörn Zaefferer
3b73177d0c Position: Also create a local reference for Math.round; update other Math references 2012-04-20 14:15:57 +02:00
Jörn Zaefferer
cfa6aa328e Position: offset() always returns null for window, so provide default 0/0 coordinates to avoid checks further down 2012-04-20 14:13:52 +02:00
Jörn Zaefferer
be3af5bc64 Position: Move Math.abs/max definitions to the top of the file 2012-04-20 14:09:17 +02:00
kborchers
00306d6bbd Menu: Bind to mouseenter instead of mouseover to avoid use of stopImmediatePropagation 2012-04-19 23:49:33 -05:00
TJ VanToll
6150abae49 Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page. 2012-04-19 20:55:02 -04:00
G Karunakar
d783766f90 Datepicker: Corrections in Hindi weekday names, text labels. Fixes #8265 - Datepicker: Incorrect translations for Hindi locale. 2012-04-19 20:35:16 -04:00
Scott González
72a0f5c512 Menu: Lint. 2012-04-19 10:29:55 -04:00
kborchers
58a120bb4b Merge branch 'menuaria' into master 2012-04-19 09:24:08 -05:00
Bertjh
4f19289c10 Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery UI 1.8.19 don't respect forcePlaceholderSize. 2012-04-19 09:05:37 -04:00
Scott González
d0cac09027 Sortable: Whitespace. 2012-04-19 09:03:22 -04:00
kborchers
49f85509fe Menu: Whitespace 2012-04-18 21:30:07 -05:00
Scott González
cb8474af1d Remove trailing whitespace. 2012-04-18 21:57:51 -04:00
Jörn Zaefferer
d3dc637b65 Position: Cleanup variable definitions, move undefined vars to the top 2012-04-18 16:43:25 +02:00
Jörn Zaefferer
f594c0623a Position: Make getOffsets and parseCss helpers local functions, no need to expose those 2012-04-18 00:30:47 +02:00
Jörn Zaefferer
5cf3f927a0 Tooltip: Remove bad docs links from headers 2012-04-17 09:56:20 +02:00
kborchers
1ce42f4328 Menu: Modified interactions to allow keyboard navigation to disabled items so that they are announced by screen readers but prevent selection of and navigation to sub-menus of disabled items 2012-04-16 23:30:33 -05:00
kborchers
fac809f9e5 Menu: Fixed typo in comment 2012-04-16 07:05:02 -05:00
kborchers
9a6392033a Menu: Add aria-disabled attribute to disabled items, namespace and cleanup the currentEventTarget click event 2012-04-16 07:02:38 -05:00
kborchers
e2a6cdd525 Menu: Check that the event object is defined before checking type 2012-04-14 16:00:19 -04:00
kborchers
26d6952bd2 Menu: Remove most event.stopImmediatePropagation() to allow proper event bubbling 2012-04-14 15:34:00 -04:00
Jörn Zaefferer
a5fc9eb7db Position: Expose target and element dimensions to allow further customization, like calculating the angle between the two elements 2012-04-13 16:05:29 +02:00
Jörn Zaefferer
cb67eb535c Position: Cache the scrollbarWidth calculation result 2012-04-13 15:12:37 +02:00
Jörn Zaefferer
7dcfae7da2 Position: Extract getWithinInfo method, use that for tests that call getScrollInfo directly, pass within info to that, gets rid of a few more DOM accesses 2012-04-13 15:05:43 +02:00
Jörn Zaefferer
c0a5e52f87 Position: Finish refactoring of within data 2012-04-13 14:46:43 +02:00
Jörn Zaefferer
59b93a7dac Position: Refactor within-data to avoid calculating that more then needed. Not quite done, but good enough for now 2012-04-12 18:33:31 +02:00
Jörn Zaefferer
8c76fe38bf Position: Inline center variable. Not necessary with gzip (or a good minifier) in place, wasn't consistent with other inline strings 2012-04-12 17:48:01 +02:00
Jörn Zaefferer
1779d86b40 Position: add target property to feedback argument, to allow additional calculation in user's using callback 2012-04-12 17:33:05 +02:00
Jörn Zaefferer
2154ca552a Position: Cache Math.abs and Math.max lookups 2012-04-12 17:14:03 +02:00
Jörn Zaefferer
58d5452a7c Position: Refactor css parse calls 2012-04-12 17:10:51 +02:00
Jörn Zaefferer
6ffc4adf06 Position: Calculate scrollInfo just once, not for each element 2012-04-12 16:57:51 +02:00
Jörn Zaefferer
08c8aedf80 Position: Refactor offset calculations 2012-04-12 16:56:54 +02:00
Jörn Zaefferer
0c5c2c7055 Position: Restrict the center/middle priority to target < element cases 2012-04-12 16:14:16 +02:00
Jörn Zaefferer
d077f9b360 Position: Improve feedback API by giving the center/middle position more weight. Also removed themeswitcher from test pages, now load faster 2012-04-12 01:32:30 +02:00
Jörn Zaefferer
623e8e68b4 Position: Mini refactoring, avoids proxying using callback multiple times if more then one element is positioned 2012-04-11 00:19:26 +02:00
Jörn Zaefferer
c0cceee8e4 Position: Fix single var, whitespace. Clone targetOffset to avoid reading that twice 2012-04-10 23:41:41 +02:00
Jörn Zaefferer
e5ba731019 Position: Use a separate object and argument for the feedback information, keeping position props as they were 2012-04-10 22:16:38 +02:00
Jörn Zaefferer
479530bb61 Position: First draft for a new notification API, via using callback, telling you were the of-element is, not just when something flipped. New test page demonstrates usage 2012-04-10 18:15:30 +02:00
Scott González
92c74818ff Menu: Cleanup. 2012-04-10 08:39:18 -04:00
kborchers
44ef35eb6f Menu: Add dividers using empty list items 2012-04-07 15:38:27 -05:00
Scott González
c0f5db5394 Tabs: Don't explicitly remove filter when animating opacity. Fixes #4621 - Tabs: Don't forcefully remove filter attribute. 2012-04-06 09:03:04 -04:00
kborchers
cd90e57f22 Merge branch 'positionWithin' 2012-04-04 22:12:11 -05:00
Jörn Zaefferer
79f1eea6dc Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining 2012-04-04 11:02:08 +02:00
kborchers
e7701e2efa Position: Fixed issue with offsets using the within option which caused flips to not happen when the containing element had been scrolled. 2012-04-03 21:08:34 -05:00
Scott González
a505192420 Tabs: Coding standards. 2012-04-03 19:59:08 -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
4ade13450e Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state. 2012-04-03 15:36:33 -04:00
Scott González
e0616aaf74 Autocomplete: Add header protection which was accidentally removed. 2012-04-03 07:15:09 -04:00
Scott González
0624c74929 Effects core: Properly handle defaults for effects that are called with a single hash. 2012-04-02 22:35:42 -04:00
Scott González
639afa5954 Lint fixes. 2012-04-02 19:12:21 -04:00
Scott González
ccbfd45924 A few lint fixes. 2012-04-02 15:55:50 -04:00
Jo Liss
37dcc3e21d Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Simon
48e5c853f9 Datepicker: Changed German translation for weekHeader to "KW". Fixes #8231 - Provide a better German translation for the week header. 2012-04-02 08:47:29 -04:00
Scott González
45a5a24dfe Tooltip: Store the title in ui-tooltip-title data only if the element has a title. 2012-03-30 09:06:06 -04:00
Scott González
56de22eead Tooltip: Avoid infinite recursion when disabling a tooltip on close. 2012-03-29 18:36:38 -04:00
Amir E. Aharoni
a51451dc1b Datepicker: Fixed nextText, prevText, and Sunday and split words onto multiple lines for readability. Fixes #8225 - Datepicker: Incorrect values in Persian localization. 2012-03-29 09:51:43 -04:00
Scott González
6634e40053 Accordion: Fixed post-init changes to event option and added tests for keyboard support. 2012-03-27 16:49:05 -04:00
Hans Hillen
0370170b2f Accordion: Fixed ARIA support and added proper keyboard support. 2012-03-27 10:19:35 -04:00
Scott González
adbc2733bb Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tabs: Error with href selector. 2012-03-22 13:17:17 -04:00
stojce
9bb9141f29 Datepicker: Fixed month name for Macedonian localization. Fixes #8206 - Datepicker: Incorrect month name for Macedonian localization. 2012-03-22 11:16:15 -04:00
Lado Lomidze
c12a47074e Datepicker: Added Georgian localization. Fixes #8205 - Datepicker: Add Georgian localization. 2012-03-22 11:10:36 -04:00
Scott González
94c6f9ec84 Mouse: Unbind events bound to document on destroy. Fixes #8199 - _mouseDestroy keeps mousemove and mouseup events bound. 2012-03-19 09:47:38 -04:00
kborchers
11b026d59b Menu: Better disabled item handling using preventDefault() for the click event on anchors inside of disabled menu items and change the pointer to default 2012-03-18 21:18:00 -05:00
Jörn Zaefferer
6de8030f01 Merge branch 'accordion-cleanup' 2012-03-18 15:46:11 +01:00
Harri Kilpiö
5c53dd1bbc Datepicker: Corrected values of dayNamesShort in Finnish translation. Fixes #8194 - Datepicker: Incorrect day name for Finnish localization. 2012-03-14 15:14:42 -04:00
Scott González
ec062c1156 Accordion: Removed ui-accordion-disabled class. Fixes #8193 - Accordion: Remove ui-accordion-disabled class. 2012-03-14 11:08:19 -04:00