aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_core.js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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: 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 Tests: Cleanup el -> elementKris Borchers2013-01-301-26/+26
|
* Tests: Convert single quotes to double quotes.Mike Sherov2012-12-261-4/+4
|
* Dialog tests: More async focus handling to deal with IE8.Scott González2012-12-101-29/+54
|
* 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-071-2/+30
| | | | proper locations.
* Dialog: Moved resizable handle test from resizable.Scott González2012-11-261-0/+13
|
* Dialog: Update focus-tabbable test with a timer workaround to get IE8 to pass.Jörn Zaefferer2012-11-261-25/+27
|
* Dialog: Add missing unit test for aria-describedby attributeJörn Zaefferer2012-11-261-17/+11
|
* Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, ↵Jörn Zaefferer2012-11-261-0/+42
| | | | then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
* Dev: remove globals from tests and moved test helpers to correct location - ↵Mike Sherov2012-11-031-81/+10
| | | | Fixed #8770 Dev: Remove globals and Standardize Test Suite
* Build: Enable "unused" option in jshint - Remove unused variables from ↵Mike Sherov2012-10-231-28/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | codebase. - Closes gh-788 Squashed commit of the following: commit 7f19f92c646f180bc067bb24123175251a64a9d6 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 257505a9e69da0c53e3a989dab87a13112045a29 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 08:10:20 2012 -0400 changes per @scott_gonzalez commit 12725480cb58e70865e5aa6e735009b6b035c8f3 Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:54:05 2012 -0400 clean up unused vars in ui directory commit 563595e7aee5d4a5c096b2d1de655abdf920aacd Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:37:42 2012 -0400 clean up unused vars in grunt and tests
* Tests: Enable QUnit.config.requireExpects.Scott González2012-06-271-0/+1
|
* Dialog: Use new uniqueId method for generating id'skborchers2012-05-291-18/+3
|
* Tests: Lint.Scott González2012-04-191-4/+4
|
* Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.Jörn Zaefferer2012-02-291-9/+9
|
* Tests: Cleanup.Scott González2011-08-031-2/+2
|
* Widget: Throw errors when calling non-existent methods or methods on ↵Scott González2010-08-271-17/+0
| | | | uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls.
* Externals: updated QUnit to http://github.com/jquery/qunit commit ↵Richard Worth2010-02-251-1/+1
| | | | | | | 67ba5a338d836014c24345dc218ab3c9bb63b06e The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests. Also removed some old crufty woefully incomplete unused and rotted test harnesses.
* Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, ↵Scott González2010-01-071-0/+5
| | | | menu; including menu static tests).
* dialog unit tests: options closeOnEscape, draggableRichard Worth2009-09-191-5/+5
|
* dialog unit tests: split tests into individual filesRichard Worth2009-02-041-2/+140
|
* unit tests: created separate file for each module: core, common widget, ↵Richard Worth2009-02-021-0/+12
events, methods, options, tickets