Commit Graph

5102 Commits

Author SHA1 Message Date
Jörn Zaefferer
513b6da641 Dialog: Keep focus inside dialog, even when dialog itself has focus. 2012-10-24 17:03:00 -04:00
David Souther
3a09a4a0de Dialog: Prevent tabbing off any dialog. Fixes #3768 - Dialog: contain focus within dialog. 2012-10-24 17:03:00 -04:00
Jörn Zaefferer
14691ae6fe Dialog: Save the active element that opened the dialog and restore focus to that. Fixes #8730 - Dialog: Restore focus to opener. 2012-10-24 17:02:32 -04:00
Jörn Zaefferer
2a2a2c017c Dialog: Prevent dialog form losing focus (or move it back in IE <= 8). 2012-10-24 16:57:13 -04:00
Nate Eagle
3829a37ca1 Dialog: Awesome new stacking and overlay implementation. Fixes the following tickets:
Fixes #3534 - Dialog: Modal dialog disables all input elements on page.
Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari.
Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall.
Fixes #5388 - Dialog: Don't change z-index when already at the top.
Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events.
Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead.
Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work.
Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle.
Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6).
Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps.
Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog.
Fixes #8583 - Dialog: Mouse event wrongly stopped.
Fixes #8722 - Dialog: Remove stack option.
Fixes #8729 - Dialog: Remove zIndex option.
2012-10-24 16:56:19 -04:00
Jörn Zaefferer
88bfb7572d Cleanup demos: Copy&paste errors in titles, bad descriptions or styling 2012-10-24 12:47:01 -04: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
Jörn Zaefferer
1fcccd45ce Menu: Use start icon (first is deprecated) 2012-10-24 09:32:07 -04:00
Mike Sherov
dcb6715392 Fixes #8714, Build: Updated internal JSHint to latest 2012-10-23 22:10:20 -04:00
Scott González
c45dc65291 Updated list of maintainers. 2012-10-23 15:15:20 -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
97b4813f30 Tooltip tests: Fixed new default value for position option. 2012-10-23 15:07:19 -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
Jörn Zaefferer
568aec62d9 Menu: Remove stupid demos, add an icons demo, improve the default demo 2012-10-23 14:48:33 -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
Jörn Zaefferer
b1b07e8046 Grunt: Disable csslint's vendor-prefix rule, we're including only the prefixes that are still necessary in supported browsers 2012-10-23 11:54:32 -04:00
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