aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
Commit message (Collapse)AuthorAgeFilesLines
* Draggable: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-111-1/+1
|
* Dialog: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-115-21/+18
|
* Dialog: Add classes optionAlexander Schmitz2015-03-117-24/+200
| | | | | Ref #7053 Ref gh-1411
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Dialog: Remove animation stopping in destroyScott González2015-03-112-10/+0
| | | | | | | | | | | Effects wrappers are no longer used, so the workaround and test are no longer necessary. This fixes tests in IE8 with jQuery 1.7. Effectively a complete revert of 13505e5945e5532c3d56424d50ad109c665d205f Closes gh-1481
* Dialog: Fix focus tests in IE8 with jQuery 1.7Scott González2015-03-111-42/+46
| | | | Ref gh-1481
* Tests: Reduce timeouts to optimize testsuite runtimeJörn Zaefferer2015-03-042-2/+2
|
* Tests: Fix style issues with missing or multiple line breaksJörn Zaefferer2015-01-241-1/+0
| | | | | As pointed out by jscs, after a esformatter run. The latter doesn't address these, so fixing them manually.
* All: Drop support for IE7Scott González2014-10-212-5/+6
| | | | | Fixes #9838 Closes gh-1365
* Dialog: Remove leftover backcompat flag in testsScott González2014-10-201-3/+0
|
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Build: Reorganize external directoryScott González2014-06-242-4/+4
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* Dialog: Honor preventDefault when managing focusJörn Zaefferer2014-06-101-2/+25
| | | | | | | | If event.isDefaultPrevented() is true, the focus management is completely skipped, assuming the user manages focus manually. Fixes #10103 Closes gh-1265
* Dialog: Fix shift-tab handling, focus the correct elementJörn Zaefferer2014-06-101-7/+9
| | | | | | | | | | | Copy-paste error introduced in df6110c0d424ff3306fdd5576011f2dcf4d242d0 Updates the tabbing test to be more specific about which element should have focus, instead of only checking if focus is within the dialog. Ref #9646 Ref #10103 Closes gh-1264
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* 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
|