Commit Graph

5431 Commits

Author SHA1 Message Date
Scott González
5e0a2ca1e5 Widget: Fixed $.widget.extend() to never copy objects by reference. 2012-10-23 11:45:16 -04:00
Scott González
d535f6869f Tooltip: Cleaned up CSS. 2012-10-23 11:19:08 -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
Scott González
6bedc0af35 Whitespace. 2012-10-22 15:36:11 -04:00
Jörn Zaefferer
ac43938c8c Spinner: Remove z-index from buttons. Whatever the original purpose, its not needed anymore. Fixes #8655 - Spinner buttons displayed on top of Datepicker. 2012-10-22 10:49:22 -04:00
Trey Hunner
49f9b849b9 Remove trailing whitespace and add final newlines 2012-10-21 22:45:41 -04:00
Trey Hunner
0bcbfe7146 Replace mixed CRLF/LF line endings with LF 2012-10-21 22:45:41 -04:00
Trey Hunner
e629d9ae1a Exempt external directory from .editorconfig rules 2012-10-21 22:45:41 -04:00
TJ VanToll
fe1ecf97e0 CSS: Apply opacity to absolutely positioned ui icons in IE8. Fixed #6059 - Button: Primary icon "enabled" when button is disabled. 2012-10-21 22:05:58 -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
fd9b355a8e Grunt: Removed tooltip tests from qunit task. 2012-10-21 17:46:02 -04:00
Scott González
eb392b3035 Accordion: Fix back-compat for active option. 2012-10-21 15:54:19 -04:00
Jörn Zaefferer
78f781fccd Tooltip: Unit test for nested tooltips 2012-10-21 13:25:36 -04:00
Jörn Zaefferer
132e9f0c72 Tooltip: Update events test to cover correct behaviour 2012-10-21 13:15:59 -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
Mike Sherov
390510c705 Build: Include ui/.jshintrc. Fixes #8687 - .jshintrc files not copied to dist. 2012-10-17 20:51:05 -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
Scott González
1ee090ea9e Autocomplete: Set the top position of the menu so that the menu doesn't affect layout. Fixes #8656 - Initial position of autocomplete is incorrect. 2012-10-11 19:06:54 -04:00
Dave Methvin
916c2252d7 Update AUTHORS.txt based on CLA responses. 2012-10-11 16:35:57 -04:00
Scott González
a50516f77e Datepicker demo: Fixed date range restriction when clearing dates. Fixes #5473 - Datepicker: Date range demo bug when clearing date. 2012-10-11 14:53:45 -04:00
Scott González
4d5197b7b4 Whitespace. 2012-10-11 13:21:36 -04:00
Scott González
cb57f223e0 Theme: Apply color to default link style in ui-state-hover. Fixes #7648 - Accordion Collapsed Color Issue. 2012-10-11 10:36:11 -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
77568347cf Demos: Fixed titles. 2012-10-08 17:42:56 -04:00
Scott González
ec60dcd186 Updating the master version to 1.9.1pre. 2012-10-05 14:52:15 -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