Scott González
c9815f13b4
Dialog: Search the correct document for focus trapping. Fixes #9439 - Dialog: Context is not respected for modals.
2013-08-07 08:57:36 -04:00
Bruno M. Custódio
0d5eaab9bb
Updating jQuery to 1.10.2.
...
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.
2013-07-05 08:42:37 -04:00
Jörn Zaefferer
90135b27f8
Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations.
2013-03-19 16:53:35 +01:00
Scott González
0cc40d799f
Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove array and string notations for position option.
2013-03-15 06:41:06 -04:00
Scott González
44d07173db
Widget: Stop setting ui-state-disabled and aria by default on setting 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 23771d38ba
.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
...
This reverts commit 4d67f4f349
.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349
Widget: Stop setting ui-state-disabled and aria by default on setting 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
2013-03-11 22:08:21 -04:00
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
Scott González
8724092e50
Dialog: Don't use ._on() for modal event handlers. Fixes #9048 - Dialog: broken focusin event handler when beforeclose event of a modal opens another modal.
2013-02-02 19:32:42 -05:00
Jörn Zaefferer
dddf2a7ca1
Dialog: Add effect files to deprecated testsuite to sync with non-deprecated file
2013-02-01 19:17:32 +01:00
Scott González
7bbda71a32
Dialog: Check for empty array in addition to empty object when checking if there are buttons. Fixes #9043 - Dialog: Buttonpane shown with no buttons when modifying native prototypes.
2013-02-01 08:59:55 -05:00
Scott González
62cda1f95d
Dialog: Set the _isOpen flag immediately in open(). Fixes #8958 - Dialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog.
2013-01-31 17:20:19 -05:00
Kris Borchers
2a8494fc81
Dialog Tests: Cleanup el -> element
2013-01-30 23:44:25 -06:00
Kris Borchers
e886e4a9c1
Dialog Tests: Add test to ensure dialog keeps focus when clicking a modal overlay
2013-01-30 23:44:03 -06:00
Kris Borchers
d1505e3434
Dialog: Move call to _focusTabbable and triggering of open and focus events 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
2013-01-30 12:30:37 -06:00
David Sullivan
55360eeb7e
Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option
2013-01-26 11:34:51 -05:00
David Petersen
649f105229
Dialog: Don't handle overlays on destory if there are not any. Fixed : #9004 - 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
2013-01-24 13:43:02 -06:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06:00
Mike Sherov
0d4022bceb
Tests: Convert single quotes to double quotes.
2012-12-26 08:08:48 -05:00
Mike Sherov
6d88d264be
Dialog Tests: Fix test fails due to window measurements in FF and IE7
2012-12-22 15:46:57 -05:00
Mike Sherov
48d7d53f7b
Dev: stop loading *_tickets.js in the test suite.
2012-12-22 12:56:19 -05:00
Mike Sherov
fec36fd214
Dev: remove todos from datepicker and dialog testsuite
2012-12-12 03:16:33 -05:00
Scott González
b9f206dbcf
Dialog: Cleanup.
2012-12-11 16:23:18 -05:00
Scott González
245a82d5aa
Dialog tests: More async focus handling to deal with IE8.
2012-12-10 15:31:56 -05:00
Scott González
0f0ec001aa
Dialog tests: Updated markup for deprecated tests to match standard tests.
2012-12-10 08:53:13 -05:00
Mike Sherov
9f76446775
Dev: remove unnecessary simulated drag delegation in test suite
2012-12-08 21:27:37 -05:00
Mike Sherov
5dee8dee30
Dev: Change incorrect references in test suite from #main to #qunit-fixture.
2012-12-08 13:19:36 -05:00
Mike Sherov
e83a89dd7d
Dev: Remove *_tickets.js test files and move the associated tests to the proper locations.
2012-12-07 20:06:29 -05:00
Scott González
d4551bc3b8
Dialog: Respect maxHeight when determining size on open. Fixes #4820 - Dialog: Auto height does not respect the maxHeight option.
2012-12-07 16:57:03 -05:00
Scott González
70b16ef445
Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be attached to a element other than body.
2012-12-07 14:54:21 -05:00
Scott González
f59f5a8b12
Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-05 11:53:34 -05:00
Scott González
3c2acc3227
Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8
Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
...
This reverts commit d687a1b10d
.
2012-12-04 09:21:33 -05:00
Jörn Zaefferer
1e8baf5683
Dialog: Remove the instance-storing for the overlay, just create one 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.
2012-12-04 01:08:34 +01:00
Jörn Zaefferer
d687a1b10d
Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
2012-12-04 00:35:47 +01:00
Jörn Zaefferer
13505e5945
Dialog: Ensure all animations finish and clean up themselve when destroying dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
2012-11-30 13:08:56 +01:00
Scott González
ee8d20ea06
Dialog: Moved resizable handle test from resizable.
2012-11-26 16:27:18 -05:00
Kris Borchers
a68d5ca31d
Dialog: Add unit test to cover #8789 and #8838 .
2012-11-26 12:14:29 +01:00
Jörn Zaefferer
a09f5c07f5
Dialog: Follow-up to 9fe3a62d8
- also deprecate string notation for position option.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
f3525afe0e
Dialog: Update focus-tabbable test with a timer workaround to get IE8 to pass.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
5aac8f563f
Dialog: Add missing unit test for aria-describedby attribute
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
a0310eb091
Dialog: Move array notation support for position option to backCompat check. Fixes #8824 - Deprecate array notation for position option.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
0be97bf8c0
Dialog: Removed broken disabled option from dialog, defuse disable/enable methods. Disabling dialogs is not supported.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b27db7e3b9
Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
299681e8f0
Dialog: Cleanup in ticket tests: TODO to merge one test, fix whitespace
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b694409e76
Dialog: Extend visual test to verify DOM position restore on destroy; overhaul unit test for destroy method.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
999617343f
Dialog: Pass through icons and showText (as 'text') options to button. Fixes #6830 - Allow Icons to be specified for Dialog buttons.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
fed2972027
Dialog: Refactor _setOption to call _super early. Move dialogClass update above that to access old option value.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
83a9f219bf
Dialog: Use button widget for close button (was already listed as dependency)
2012-11-26 10:28:21 +01:00
Jörn Zaefferer
0848040d3e
Dialog: Focus tabbable only when dialog lost focus before.
2012-11-26 10:26:12 +01:00