Scott González [Fri, 9 Nov 2012 21:48:52 +0000 (16:48 -0500)]
Widget: Only use the event prefix from the base if we're redefining a widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1.
(cherry picked from commit 9e858ba14ac0ae26780581a34565e84e0ae108ef)
Scott González [Fri, 9 Nov 2012 19:52:57 +0000 (14:52 -0500)]
Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;' attribute is not removed from tabs when destroy is called.
(cherry picked from commit fd48568c402847df8af59166c33549f0d19feb4b)
Scott González [Fri, 9 Nov 2012 18:07:53 +0000 (13:07 -0500)]
Tooltip: Ignore disabled checks when closing. Fixes #8758 - Tooltip: Tooltip is shown, but not hidden if element has class=ui-state-disabled.
(cherry picked from commit 498aadf644ddca86de838dc2001267ded972df2c)
Scott González [Fri, 9 Nov 2012 17:54:33 +0000 (12:54 -0500)]
Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove.
(cherry picked from commit 1cdeeccab0e76495842cad9d04e686aee802777d)
Scott González [Fri, 9 Nov 2012 17:39:41 +0000 (12:39 -0500)]
Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled.
(cherry picked from commit 84cd214486769a3527b3ab420219c8f9c78f9879)
Avinash R [Wed, 7 Nov 2012 15:05:00 +0000 (10:05 -0500)]
Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
(cherry picked from commit 75bd22eb731f5a81099ad97c88eede3862195fec)
Scott González [Tue, 13 Nov 2012 15:53:25 +0000 (10:53 -0500)]
Dialog: Set top and left properties in the default styles to avoid a bug in core. Fixes #8741 - Dialog: dialog with position:fixed goes offscreen when opening after scrolling down since v 1.9.0.
Scott González [Tue, 6 Nov 2012 13:01:11 +0000 (08:01 -0500)]
Tabs: Encode spaces from window.location. Fixes #8777 - Tabs fail in Safari 5.1 when window.location contains a space.
(cherry picked from commit c6b52db892703ba14153800dbf620db509acb9e6)
Jörn Zaefferer [Mon, 5 Nov 2012 18:05:58 +0000 (19:05 +0100)]
Tooltip: Make 'flipfit flip' the collision default to avoid the tooltip ever overlapping the trigger. Also fix max-width for custom-content demo. Fixes #8739 - Tooltip: Default positioning on large items off.
(cherry picked from commit 1d9eab1ead0d5a6f60e31437bb539eb3f804bacc)
Jörn Zaefferer [Mon, 5 Nov 2012 17:59:52 +0000 (18:59 +0100)]
Tooltip: Check type on event directly, preventing TypeError when programmatically moving focus to track-toolipped-input. Fixes #8747 - Tooltip: Using the track option within dialogs creates JS errors
(cherry picked from commit 98173a3d0ea8e2e6aeb19dda9b232cb65a0684e4)
Scott González [Tue, 30 Oct 2012 20:26:42 +0000 (16:26 -0400)]
Autocomplete: Set initial left position for menu. Fixes #8749 - Autocomplete dropdown positioned incorrectly in IE.
(cherry picked from commit d693ce5324f6f3be8479ef083e4eaf3c705ef043)
Scott González [Mon, 29 Oct 2012 00:28:55 +0000 (20:28 -0400)]
Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form.
(cherry picked from commit d074efe5289db4f5182a685046e9b9ad6186ac26)
Jörn Zaefferer [Thu, 25 Oct 2012 18:15:46 +0000 (14:15 -0400)]
Build: Update the changelog shell to include more newlines, makes it easier to edit it later
(cherry picked from commit fb40f1f6baaf77864f2aed0422e30ac7bee5c7fd)
Jörn Zaefferer [Wed, 24 Oct 2012 14:41:48 +0000 (10:41 -0400)]
Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element
Scott González [Tue, 23 Oct 2012 19:12:54 +0000 (15:12 -0400)]
Core: Update :focsable and :tabbable to handle parents with no height/width, but visible overflow. Fixes #8643 - :focusable pseudo-selector does not find elements if parent has 0x0 dimension.
Scott González [Tue, 23 Oct 2012 18:49:16 +0000 (14:49 -0400)]
Dialog: Don't use deprecated offset option for .position(). Fixes #8675 - Dialog: Position with pixels in array doesn't work with back compat disabled.
Scott González [Tue, 23 Oct 2012 14:15:19 +0000 (10:15 -0400)]
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.
Scott González [Mon, 22 Oct 2012 19:33:57 +0000 (15:33 -0400)]
Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work.
Jörn Zaefferer [Mon, 22 Oct 2012 14:48:46 +0000 (10:48 -0400)]
Spinner: Remove z-index from buttons. Whatever the original purpose, its not needed anymore. Fixes #8655 - Spinner buttons displayed on top of Datepicker.
Andrew Couch [Tue, 16 Oct 2012 16:55:50 +0000 (12:55 -0400)]
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.
Jörn Zaefferer [Fri, 19 Oct 2012 22:16:11 +0000 (18:16 -0400)]
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
Jörn Zaefferer [Sat, 20 Oct 2012 00:58:08 +0000 (20:58 -0400)]
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
Scott González [Fri, 12 Oct 2012 15:07:04 +0000 (11:07 -0400)]
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.
John Chen [Fri, 17 Aug 2012 08:20:45 +0000 (16:20 +0800)]
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
Scott González [Tue, 9 Oct 2012 13:06:58 +0000 (09:06 -0400)]
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.
Scott González [Fri, 5 Oct 2012 15:26:49 +0000 (11:26 -0400)]
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.