aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
Commit message (Collapse)AuthorAgeFilesLines
...
* Dialog: Work around subpixel issues in dialog resizable testJörn Zaefferer2014-02-201-4/+7
| | | | | | | | | Switching to checking the size of the content element. We should be checking the dimensions of the .ui-dialog element, but that currently fails in Chromium-based browsers. Once we start using box-sizing: border-box, we should try to revert this change. Ref #9845
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* Tests: Fix andenable a couple of unit tests: dialog, tooltip, draggableBrian J. Dowling2014-02-112-3/+3
| | | | | | | | Some unit tests were disabled in phantomjs. Dialog and draggable depended on a larger viewPort. Tooltip just worked, that was reenabled as well. Closes gh-1173
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-13/+13
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Dialog: Keep track of instances to focus when elements outside the dialog ↵Jörn Zaefferer2013-11-201-0/+48
| | | | get focus. Works with inheritance. Adds tests for both. Fixes #9241 - Dialog: UI dialog inheritance causes undefined property '_focusTabbable' in IE9
* Dialog: Restore focus to the previously focused element when window regains ↵Jörn Zaefferer2013-11-151-14/+34
| | | | focus. Fixes #9101 - Dialog: Track last focused element instead of always focusing the first tabbable element
* Dialog tests: Work around focus issue in IE8.Scott González2013-11-141-0/+5
|
* Dialog test: Ensure dialog is tall enough to be scrolled.Scott González2013-11-141-0/+2
|
* Dialog: Switch back to shuffling z-index, but only look at .ui-front siblings.Jörn Zaefferer2013-10-021-4/+17
| | | | | Fixes #9166 - Dialog: moveToTop implementation resets flash/video/iframe/scroll Fixes #9364 - Dialog: Click of element with tooltip scrolls the dialog to the top
* Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: ↵Scott González2013-08-152-2/+2
| | | | Capitalize 'close' for closeText option.
* Dialog: Search the correct document for focus trapping. Fixes #9439 - ↵Scott González2013-08-071-5/+5
| | | | Dialog: Context is not respected for modals.
* Updating jQuery to 1.10.2.Bruno M. Custódio2013-07-051-1/+1
| | | | | Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the tests directory.
* Widget tests: Use instance method. Also replace a few instances of $.data in ↵Jörn Zaefferer2013-03-191-2/+2
| | | | widget implementations.
* Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove ↵Scott González2013-03-152-130/+0
| | | | array and string notations for position option.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Scott González2013-03-141-1/+3
| | | | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable: disabled should not have ui-state-disabled This reverts commit 23771d38ba9d2663f6db0243c8e992dc7ff6844a.
* Revert "Widget: Stop setting ui-state-disabled and aria by default on ↵Scott González2013-03-141-3/+1
| | | | | | setting disabled option." This needs to wait for a major release. This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Mike Sherov2013-03-111-1/+3
| | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled
* Updating 'jQuery' to 1.9.1.Bruno M. Custódio2013-02-051-1/+1
|
* Dialog: Don't use ._on() for modal event handlers. Fixes #9048 - Dialog: ↵Scott González2013-02-021-0/+13
| | | | broken focusin event handler when beforeclose event of a modal opens another modal.
* Dialog: Add effect files to deprecated testsuite to sync with non-deprecated ↵Jörn Zaefferer2013-02-011-0/+4
| | | | file
* Dialog: Check for empty array in addition to empty object when checking if ↵Scott González2013-02-011-0/+10
| | | | there are buttons. Fixes #9043 - Dialog: Buttonpane shown with no buttons when modifying native prototypes.
* Dialog: Set the _isOpen flag immediately in open(). Fixes #8958 - Dialog: ↵Scott González2013-01-311-0/+29
| | | | Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog.
* Dialog Tests: Cleanup el -> elementKris Borchers2013-01-306-386/+386
|
* Dialog Tests: Add test to ensure dialog keeps focus when clicking a modal ↵Kris Borchers2013-01-301-0/+12
| | | | overlay
* Dialog: Move call to _focusTabbable and triggering of open and focus events ↵Kris Borchers2013-01-302-0/+42
| | | | into the _show callback. Fixes #6756 - Dialog: show: "blind" with link in content doesn't animate properly. Fixes #8051 - Dialog: 'Explode' dialog animation causes crash in IE 6, 7 and 8. Fixes #4421 - Dialog: Focus lost from dialog which uses show-effect
* Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed ↵David Sullivan2013-01-261-8/+28
| | | | #8984 - Modal dialogs display behind overlay when using appendTo option
* Dialog: Don't handle overlays on destory if there are not any. Fixed: #9004 ↵David Petersen2013-01-241-1/+32
| | | | - failed in _destroyOverlay when I destroy a modal dialog thau was never opened. Fixed: #9000 Dialog leaves broken event handler after close/destroy in certain cases
* Updating to jQuery 1.9.0Kris Borchers2013-01-171-1/+1
|
* Tests: Convert single quotes to double quotes.Mike Sherov2012-12-267-290/+290
|
* Dialog Tests: Fix test fails due to window measurements in FF and IE7Mike Sherov2012-12-223-57/+78
|
* Dev: stop loading *_tickets.js in the test suite.Mike Sherov2012-12-222-2/+0
|
* Dev: remove todos from datepicker and dialog testsuiteMike Sherov2012-12-121-11/+10
|
* Dialog: Cleanup.Scott González2012-12-111-1/+1
|
* Dialog tests: More async focus handling to deal with IE8.Scott González2012-12-101-29/+54
|
* Dialog tests: Updated markup for deprecated tests to match standard tests.Scott González2012-12-101-0/+2
|
* Dev: remove unnecessary simulated drag delegation in test suiteMike Sherov2012-12-081-4/+3
|
* Dev: Change incorrect references in test suite from #main to #qunit-fixture.Mike Sherov2012-12-081-1/+2
|
* Dev: Remove *_tickets.js test files and move the associated tests to the ↵Mike Sherov2012-12-075-123/+114
| | | | proper locations.
* Dialog: Respect maxHeight when determining size on open. Fixes #4820 - ↵Scott González2012-12-071-2/+2
| | | | Dialog: Auto height does not respect the maxHeight option.
* Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be ↵Scott González2012-12-073-0/+44
| | | | attached to a element other than body.
* Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: ↵Scott González2012-12-051-4/+11
| | | | Destroying a dialog leaves some styles changed.
* Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - ↵Scott González2012-12-041-0/+5
| | | | Dialog: Destroying a dialog leaves some styles changed.
* Revert "Dialog: Cleanup style properties on _destroy. Reenables style check ↵Scott González2012-12-041-2/+0
| | | | | | in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers." This reverts commit d687a1b10d1e176a6a8dd4420f1ea3a890640da0.
* Dialog: Remove the instance-storing for the overlay, just create one ↵Jörn Zaefferer2012-12-041-11/+0
| | | | whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist.
* Dialog: Cleanup style properties on _destroy. Reenables style check in ↵Jörn Zaefferer2012-12-041-0/+2
| | | | domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
* Dialog: Ensure all animations finish and clean up themselve when destroying ↵Jörn Zaefferer2012-11-302-0/+11
| | | | dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
* Dialog: Moved resizable handle test from resizable.Scott González2012-11-261-0/+13
|
* Dialog: Add unit test to cover #8789 and #8838.Kris Borchers2012-11-261-0/+16
|
* Dialog: Follow-up to 9fe3a62d8 - also deprecate string notation for position ↵Jörn Zaefferer2012-11-262-33/+31
| | | | option.
* Dialog: Update focus-tabbable test with a timer workaround to get IE8 to pass.Jörn Zaefferer2012-11-261-25/+27
|