Mike Sherov
12725480cb
clean up unused vars in ui directory
2012-10-22 22:54:05 -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