Scott González
b5cf5b6ad8
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 498aadf644
)
2012-11-13 10:57:13 -05:00
Scott González
0ad6d7a4a9
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 1cdeeccab0
)
2012-11-13 10:57:04 -05:00
Scott González
f8c154b4d2
Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled.
...
(cherry picked from commit 84cd214486
)
2012-11-13 10:56:14 -05:00
Avinash R
8f098d8806
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 75bd22eb73
)
2012-11-13 10:55:09 -05:00
Scott González
cdccd9956a
Tabs: Encode spaces from window.location. Fixes #8777 - Tabs fail in Safari 5.1 when window.location contains a space.
...
(cherry picked from commit c6b52db892
)
2012-11-13 10:50:51 -05:00
Scott González
310dff10ea
Core: Patch over broken .removeData() in jQuery 1.6.1 + 1.6.2.
...
(cherry picked from commit 886d6fe9fb
)
2012-11-13 10:50:32 -05:00
Scott González
177d0f2746
Core: Moved old jQuery support code to the bottom (above deprecated).
...
(cherry picked from commit 8a32c39136
)
2012-11-13 10:50:25 -05:00
Scott González
da2fbcaeee
Tooltip: Use ui-tooltip-open instead of tooltip-open for data key.
...
(cherry picked from commit 02694a90f3
)
2012-11-13 10:50:02 -05:00
Jörn Zaefferer
fbc0e6afe6
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 1d9eab1ead
)
2012-11-13 10:46:00 -05:00
Jörn Zaefferer
241c10044d
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 98173a3d0e
)
2012-11-08 17:55:59 -05:00
Jörn Zaefferer
9e0071fea4
Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus.
...
(cherry picked from commit 8b3e570241
)
2012-11-08 17:54:42 -05:00
Scott González
ccb741bd0c
Dialog: Don't use .attr( props, true ).
...
(cherry picked from commit a8de99c791
)
2012-11-08 17:53:35 -05:00
Scott González
48398bc58c
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 d074efe528
)
2012-11-08 17:48:34 -05:00
Scott González
eaadcc0eeb
Widget: Bind the remove event to the element, not the .widget() element.
2012-10-24 12:00:03 -04:00
Kato Kazuyoshi
5f9d5c54c3
Effects (size): Adjusting behavior of toggled size effects - See gh-203 - Partial Fix for #7041
2012-10-24 10:27:12 -05:00
Jörn Zaefferer
721a4b4ae0
Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element
2012-10-24 10:42:21 -04:00
Scott González
848ab48583
Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget.
2012-10-24 10:13:51 -04:00
Jörn Zaefferer
ba752cf7ed
Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - Tooltip: Disabled tooltips on initialization.
2012-10-24 10:02:21 -04:00
Scott González
86a958d3aa
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.
2012-10-23 15:12:54 -04:00
Scott González
11effcbd35
Dialog: Don't use deprecated offset option for .position(). Fixes #8675 - Dialog: Position with pixels in array doesn't work with back compat disabled.
2012-10-23 14:50:02 -04:00
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