Commit Graph

2850 Commits

Author SHA1 Message Date
Maciej Mroziński
f4b3cd5271 Accordion: Remove code that sets accordion height. Fixed #8696 - Multiple collapsible Accordions won't work together. 2012-10-23 14:11:22 -04:00
Marc-Andre Lafortune
8bb05d23e2 Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target. 2012-10-23 14:06:30 -04:00
Scott González
5e0a2ca1e5 Widget: Fixed $.widget.extend() to never copy objects by reference. 2012-10-23 11:45:16 -04: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
7af1ec727b Tooltip: Position below the element and set a max width of 300px to more closely match native tooltip behavior. Fixes #8718 - tooltip flickers when too long. 2012-10-23 10:15:28 -04:00
Mike Sherov
d67522e329 Build: Upgrade to the latest Grunt and JSHint - Closes gh-786 2012-10-22 17:04:08 -05:00
Scott González
9b908878ae Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work. 2012-10-22 15:36:11 -04:00
Trey Hunner
49f9b849b9 Remove trailing whitespace and add final newlines 2012-10-21 22:45:41 -04:00
Scott González
eb4178f819 Fixed some jshint errors. 2012-10-21 18:23:32 -04:00
Corey Frang
8b76684a92 Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783 2012-10-21 16:46:57 -05:00
Scott González
eb392b3035 Accordion: Fix back-compat for active option. 2012-10-21 15:54:19 -04:00
Andrew Couch
0b3e59f149 Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time. 2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736 Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed 2012-10-21 13:15:44 -04:00
Jörn Zaefferer
6b48ef5eca Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows 2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291 Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements 2012-10-21 12:49:32 -04:00
Jörn Zaefferer
9d5f91ece2 Tooltip: Comment why we need to use closest 2012-10-19 20:57:13 -04:00
Andrew Couch
5bd5ef15f9 Effect: fix typo in comment ft "optinos" => "options" 2012-10-18 10:56:44 -04:00
David Petersen
c2802d7aa0 Accordion: handle active: null. Fixes #8694: 1.9 Accordion - active: null allows panels to be collapsible. 2012-10-18 00:08:37 -04:00
David Petersen
35dc9307fc Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event. 2012-10-17 20:28:27 -04:00
David Petersen
dda1925d0f Slider: Count the handles after setting up a range. Fixes #7922 - Slider with range doesn't work if values are not set. 2012-10-17 20:08:50 -04:00
David Petersen
f37008eeb1 Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view. 2012-10-16 23:15:10 -04:00
TJ VanToll
5e24a1ce4b Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset. 2012-10-16 23:09:26 -04:00
David Petersen
8ce35198da Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside iframe in IE6/7. 2012-10-16 22:58:42 -04:00
Dale Kocian
1a69667887 Dialog: Added mousedown event handler on dialog title to focus. Fixed #8063 - Dialog: Escape closes incorrect dialog. 2012-10-16 09:17:21 -04:00
Jörn Zaefferer
112185ec8d Spinner: Remove ui-state- classes from spinner, along with the background:none TR override. Fixes #8654 - Spinner background-color 2012-10-14 16:46:38 -04:00
Scott González
025266e002 Resizable: Use .insertAfter() instead of .after() to avoid recursively destroying. Fixes #8662 - Infinite loop - new to jQuery UI 1.9.0. 2012-10-13 14:50:51 -04:00
Scott González
bd3a348776 Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only]. 2012-10-12 20:26:47 -04:00
Scott González
94221c4e5b Tabs: Use aria-controls instead of the anchor's href to match against location.hash. Fixes #8660 - Tabs: Set initial active tab from location hash for ajax tabs. 2012-10-12 11:07:04 -04:00
John Chen
bae06d2b1e Sortable: Calculating item distance and direction using a more robust algorithm to better support sorting among nested sortables. Fixes #8572 - Wrong placeholder positions. Fixes #8573 - Can't drag an item out of an inner sortable. Fixes #8574 - Hard to put an item between two inner sortables.
Use the item which has the least distance between the mouse
pointer and one of its borders to rearrange, with direction being
determined by the nearest border.
Also we use this algorithm to rearrange even when currentContainer
is not changed to override the defective rearrangment in
_mouseDrag
2012-10-10 14:56:03 -04:00
John Chen
20e6064711 Draggable: Fix a bug when dragging into nested sortables there are duplicated placeholders. Fixes #7777 - Draggable and Nested Sortables bug. 2012-10-10 14:46:52 -04:00
John Chen
77a4aaf47a Sortable: Fix a bug of removing an item while iterating an array. Fixes #8571 - Out of range problem in when dragging a nested sortable. 2012-10-10 14:39:38 -04:00
Scott González
a3f1a34d3b Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily. 2012-10-10 11:45:48 -04:00
Scott González
fa62f21e5a Tabs: Handle extraneous list items when using ui-tabs-active to set the initially active tab. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-10-09 09:07:11 -04:00
Richard D. Worth
1e6e4ce4dc Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined 2012-10-09 08:41:18 -04:00
Scott González
0a31a82831 Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties. 2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72 Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error. 2012-10-05 11:26:49 -04:00
Scott González
d434c9a442 typo 2012-10-04 11:59:11 -04:00
Scott González
f5261f359e Tooltip: Stop tracking the mouse if the element gains focus. Fixes #8622 - Tooltip tracks mouse when the element has focus. 2012-10-04 11:14:37 -04:00
Scott González
2c50b1b8b5 Accordion: Only adjust height animations for heightStyle: content. Fix tests that punch .animate(). 2012-10-01 16:52:54 -04:00
Scott González
d20f05ea37 Accordion: New approach to synchronizing animations. Fixes #4178 - Accordion animation a bit jumpy in some browsers. 2012-10-01 16:25:23 -04:00
Scott González
4ab4684cfc Dialog: Don't try to place the dialog next to itself on destroy. Fixes #8613 - Destroying a dialog removes the original element from the DOM. 2012-10-01 15:34:44 -04:00
Scott González
7882bf4548 Updated docs URLs for core files. 2012-09-29 16:32:52 -04:00
Scott González
149567e476 Updated docs URLS. 2012-09-26 18:06:20 -05:00
Scott González
7023ed4699 Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-09-12 09:28:51 -04:00
Jared A. Scheel
19a9d57868 Draggable: Always clean up iframes. Fixes #8555 - Draggable: iframeFix option leaves iframes in DOM when using a selector. 2012-09-06 12:30:11 -04:00
Scott González
e162fddd95 Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set. 2012-09-05 16:07:36 -04:00
Scott González
6abb10766c Dialog: Only bind focus-trapping event once. Fixes #8551 - After repeated opening and closing of a modal dialog, focus navigation using tab becomes slow. 2012-09-04 17:00:26 -04:00
Scott González
e242868f56 Tooltip: Allow strings for content option. 2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44 Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically. 2012-08-31 15:38:21 -04:00
Bernhard Sirlinger
dec9c54632 Effects (Shake): Divide duration by number of animation steps. Fixed: #8531 - Shake effect: Duration is multiplied based on number of shakes. 2012-08-30 11:23:07 -04:00
Scott González
13fa4a9dac Tabs: Don't apply a spinner when nested tabs are loading. Fixes #8529 - tabs with in tabs, heading appears as Loading.... 2012-08-30 09:44:57 -04:00
Philipp Benjamin Köppchen
bce0838938 Droppable: greedy children now consider only parents with same scope as parents. Fixed #8524 - Nested greedy droppables trigger parents events even when scopes are different 2012-08-29 08:24:14 -04:00
Scott González
96cabd59ab Effects: Cleanup. 2012-08-27 17:23:30 -04:00
Scott González
93556a8e18 Menu: If the active element no longer exists after a refresh, blur the menu. 2012-08-27 08:05:27 -04:00
Scott González
6e7bd4d895 Revert "Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance." This revert fixes a more serious problem: Fixes #8522 - Calendar doesn't render when moving between datepicker controls.
This reverts commit b4ef2f7ebb.
2012-08-26 17:21:23 -04:00
Pierre-Henri Ausseil
767af39f7f Autocomplete: Fixed an invisible character tht lead to a failure of the function. 2012-08-26 17:09:39 -04:00
Kris Borchers
d372882af1 Datepicker: Replace HTML entities with characters in es, fi, gl, is, it, pt-BR, pt and sl i18n files. Fixes #8515 - Datepicker: Translation displays HTML entities when setting some formats 2012-08-23 20:25:12 -05:00
Jiayi Yang
a922d4d5b6 Datepicker: Updated zh-CN, zh-HK, and zh-TW locales. Fixes #8511 - Localization Issue: the monthNameShort in Chinese is wrong. 2012-08-23 21:00:29 -04:00
Scott González
8aa410b2fc Core: Whitespace. 2012-08-23 07:35:40 -04:00
Scott González
c343598d2a Core: Deprecate .enableSelection() and .disableSelection(). Fixes #7755 - Core: Deprecate .disableSelection() and .enableSelection(). 2012-08-23 07:30:29 -04:00
Martin Hoch
b9ef00f0c7 Sortable: Fixed container change detection. Fixes #5159 - Remove and receive events on nested sortables. 2012-08-22 22:04:40 -04:00
Martin Hoch
2b899cc843 Sortable: Fixed jerkiness with nested-sortables. Fixes #4857 - Nested lists don't work properly with sortable. 2012-08-22 22:02:39 -04:00
Scott González
651460792b Position: Properly handle flip collision when the window is scrolled. Fixes #8481 - Position in flip mode does not take into consideration scrollTop and scrollLeft. 2012-08-17 10:34:00 -04:00
Scott González
af67883226 Tabs: Set ajaxOptions in intial $.ajax() call. Fixes #8504 - Ajax in Tabs not passing data in 1.9. beta 1. 2012-08-17 09:08:07 -04:00
Scott González
536d112aa9 Upgrade jQuery Color to 2.0.0. Fixes #6969 - Effects: 'borderColor' property is buggy. 2012-08-14 08:46:15 -04:00
Scott González
30b579f598 Datepicker: Unescape double escaped ids when handling events. Fixes #8480 - Datepicker 1.8.22 escaped id does not work. 2012-08-09 16:32:16 -04:00
Scott González
485ca7192a Simplify licensing. 2012-08-09 15:09:50 -04:00
Scott González
e68bee9b84 Mouse: Don't try to unbind delegated event handlers if they don't exist. Fixes #8416 - Draggable breaks during drag if any other draggable is removed or destroyed. 2012-07-31 16:27:43 -04:00
kborchers
7e1cb95d37 Menu: Open submenu on click of parent item and only close menu when clicking item without submenu. 2012-07-31 00:00:07 -05:00
Scott González
b68b116adf Autocomplete: Fixed spacing. 2012-07-30 12:48:47 -04:00
Mark Aaron Shirley
1626c97caa Datepicker: Changed body selector to document.body. Fixed #8464 - Datepicker does not properly scope the body selector. 2012-07-27 09:40:11 -07:00
Corey Frang
ed64ccfef4 Effects: Fixing call to outerHeight/Width in slide effect for compat with 1.8 core 2012-07-20 18:50:34 -05:00
Corey Frang
85d259483e Effects: Fixing bug in blind effect caused by 48659c64 - auto doesn't parse 2012-07-20 18:35:32 -05:00
Corey Frang
4e3d31e1ee Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core 2012-07-20 18:07:45 -05:00
Luis Dalmolin
147ec7bd62 Datepicker: Fixed position problem when input is in a fixed element. Fixes #5626 - DatePicker doesn't work inside fixed div. 2012-07-17 16:22:03 -04:00
Maciej Mroziński
cb44dc6c28 Datepicker: Deleted z-index style on hidden input. Fixed #7449 - Datepicker dialog has a negative z-index. 2012-07-17 16:16:27 -04:00
Maciej Mroziński
b4ef2f7ebb Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance. Fixed #6814 - datepicker('setDate') incorrectly overwrites current display with two datepickers. 2012-07-17 16:08:31 -04:00
Baoju Yuan
dcea4f043a Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong. 2012-07-16 10:26:02 -04:00
kborchers
5eb1aeec4e Menu: Remove unnecessary click delay and change focus delay for AT to the default delay 2012-07-13 13:36:00 -05:00
kborchers
be0be892d3 Menu: Fix issue with missing active item when clicking a menu item more than once 2012-07-12 23:01:13 -05:00
kborchers
b8ad711dee Menu: Add a flag and remove previous attempt to prevent select events from being fired by click events bubbling up through nested menus 2012-07-12 22:45:56 -05:00
Jörn Zaefferer
e054e28836 Spinner: Introduce icons option to make button icons customizable, mostly for consistency 2012-07-12 18:07:40 +02:00
Jörn Zaefferer
7759fb4dba Menu: Rename icon option to icons.submenu 2012-07-12 17:50:34 +02:00
Scott González
566c5f4058 Menu: Alphabetize options. 2012-07-10 12:07:00 -04:00
Scott González
dc689139ea Menu: Remove ability to pass a function as the position option. 2012-07-10 11:52:09 -04:00
Scott González
3a7c1bc07a Effects: Work around jQuery 1.6.2 returning undefined for falsy values in .data(). 2012-07-10 09:00:26 -04:00
Scott González
2ed34e4f1f Menu: Cleanup from 019dcc26e3. 2012-07-10 08:36:39 -04:00
kborchers
db3fabedb4 Menu: Expose the submenu indicator icon as an icon option 2012-07-10 00:14:54 -05:00
kborchers
1a22a675d8 Menu: Remove unnecessary returns from expand and collapse 2012-07-10 00:14:54 -05:00
kborchers
22d078aac6 Menu: Move regular expression creation outside of the loops 2012-07-10 00:14:54 -05:00
kborchers
019dcc26e3 Menu: Remove incorrect scroll check behavior from focus event handler 2012-07-10 00:14:53 -05:00
Scott González
a79d09a905 Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create lowercase pseudo selectors. 2012-07-09 16:02:43 -04:00
Scott González
1991a9073d Menu: Remove extraneous spaces from selector. 2012-07-09 12:57:01 -04:00
Scott González
5085981241 Effects: Update jQuery Color. 2012-07-09 11:46:37 -04:00
Timmy Willison
2d643032c5 Core: Adjust data pseudo creation to use new Sizzle pseudo creation for pseudos with arguments. 2012-07-07 14:28:52 -04:00
Lee Rowlands
5a952856a0 Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - Dialog: modal accessibility. 2012-07-05 21:23:39 -04:00
Scott González
be58dcf708 Menu: Added missing position dependency to header comment. 2012-07-05 14:17:56 -04:00
Scott González
a4534bb993 Update copyright to jQuery Foundation. 2012-07-04 09:08:08 -04:00
Scott González
730446edca Effects: Update jquery-color. 2012-06-28 05:45:25 -07:00
Scott González
722f488e46 jshint: Add boss: true to suppot jquery-color. 2012-06-25 20:28:19 -04:00
Scott González
13d560b8f0 Upgrade to jquery-color 2.0pre. Fixes #6910 - Trying to animate the background color of a document fragment can easily fail. Fixes #5215 - Effects color: Add support for rgba animations. Fixes #4372 - Animate backgroundColor to 'transparent'. Fixes #5393 - getColor reports inaccurate color for transparent elements in Webkit. Fixes #3806 - Feature request: expose getRGB and getColor. 2012-06-25 19:25:27 -04:00
Scott González
ab39099f66 Autocomplete: More verbose checking for multi-line to work around IE treating inputs as contentEditable. 2012-06-25 11:59:35 -04:00
Scott González
405cbefe5c Autocomplete: Check for contenteditable via isContentEditable property rather than [contenteditable] selector. Properly accounts for properties vs. attributes and 'inherit'. 2012-06-25 11:41:24 -04:00
Mike Hollis
535ef2a01c Button: Trim button text before setting as title attribute. 2012-06-25 09:52:42 -04:00
Steven Roussey
392423ca51 jQuery may be redefined or not exist do to noConflict, so using the global is bad, instead use the scoping function's $ 2012-06-18 15:09:28 -07:00
Scott González
378dacfda1 Menu: Cleanup. 2012-06-18 12:33:52 -04:00
Scott González
92fb5567a2 Effects: Renamed all files. 2012-06-15 12:47:12 -04:00
Scott González
d569b52838 Effects (fade): Delegate hiding and showing to core. Fixes #8267 - dialog fadein broken since 1.9m4. 2012-06-15 07:35:08 -04:00
Scott González
e2bbe04bc7 Tabs: Change array join to string. 2012-06-14 21:22:36 -04:00
Scott González
eda0526b73 Sortable: Remove workaround for Safari 3. 2012-06-14 18:46:38 -04:00
Scott González
3ff2db226c Resizable: Remove IE hidden element hack. It seems illogical and I have no idea what it's trying to fix. 2012-06-14 18:45:27 -04:00
Scott González
ab1d9b8ba1 Draggable: Remove workaround for Safari 3. 2012-06-14 18:32:27 -04:00
Scott González
30c064427b Datepicker: Remove workaround for old Opera. 2012-06-14 18:25:06 -04:00
Scott González
1374f8271a Datepicker: Removed unused isArray() function. 2012-06-14 18:09:53 -04:00
Scott González
f1e1f8ae15 Tabs: Fixed event triggering for select method. 2012-06-14 13:42:02 -04:00
Scott González
d740e450aa Tooltip: Reposition tracking tooltips when they gain focus. 2012-06-14 12:40:03 -04:00
Jörn Zaefferer
5c2cf39dff Tooltip: Add track option 2012-06-14 12:38:13 -04:00
Scott González
ff39bed57a Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off. 2012-06-14 12:33:16 -04:00
Scott González
00d4beb0ca Widget: Create eventNamespace property instead of constantly rebuilding it. 2012-06-14 11:17:20 -04:00
Jörn Zaefferer
28b14ec47c Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: _bind() on elements such as document are dangerous 2012-06-14 10:39:41 -04:00
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
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