aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
Commit message (Collapse)AuthorAgeFilesLines
* Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove ↵Scott González2013-03-151-50/+0
| | | | array and string notations for position option.
* Dialog: Extract check for which elements can gain focus into its own method ↵Scott González2013-02-201-5/+13
| | | | for overriding. Fixes #9087 - Dialog: Allow registering elements outside a dialog for use when a modal dialog is open.
* Dialog: Don't hard-code widget data key. Fixes #9097 - UI dialog inheritance.Scott González2013-02-181-1/+2
|
* Dailog: Cover iframes during drag and resize. Fixes #7650 - Dialog cannot be ↵Scott González2013-02-031-0/+26
| | | | dragged properly with IFRAME.
* Dialog: Don't use ._on() for modal event handlers. Fixes #9048 - Dialog: ↵Scott González2013-02-021-11/+9
| | | | broken focusin event handler when beforeclose event of a modal opens another modal.
* Dialog: Check for empty array in addition to empty object when checking if ↵Scott González2013-02-011-1/+1
| | | | 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-1/+1
| | | | Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog.
* Dialog: Move call to _focusTabbable and triggering of open and focus events ↵Kris Borchers2013-01-301-4/+5
| | | | 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-1/+1
| | | | #8984 - Modal dialogs display behind overlay when using appendTo option
* Dialog: Allow interaction with datepickers from modal dialogs. Fixes #8989 - ↵Scott González2013-01-251-1/+4
| | | | Dialog: Cannot change month/year in datepicker within modal.
* Dialog: Don't handle overlays on destory if there are not any. Fixed: #9004 ↵David Petersen2013-01-241-4/+8
| | | | - 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
* Update copyright year to 2013.Scott González2013-01-101-1/+1
|
* All: Convert single quotes to double quotes.Mike Sherov2012-12-251-1/+1
|
* Dialog: Spacing.Scott González2012-12-121-64/+64
|
* Dialog: Cleanup.Scott González2012-12-111-99/+91
|
* Dialog: Respect maxHeight when determining size on open. Fixes #4820 - ↵Scott González2012-12-071-5/+10
| | | | Dialog: Auto height does not respect the maxHeight option.
* Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be ↵Scott González2012-12-071-1/+14
| | | | attached to a element other than body.
* Allow higher cyclomatic complexity in functions that sanely use switch ↵Scott González2012-12-061-0/+1
| | | | statements.
* Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: ↵Scott González2012-12-051-6/+7
| | | | 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-5/+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: Refactor _createOverlay and _destroyOverlay to use widget methods ↵Jörn Zaefferer2012-12-041-7/+9
| | | | and properties.
* Dialog: Remove the instance-storing for the overlay, just create one ↵Jörn Zaefferer2012-12-041-20/+7
| | | | 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/+5
| | | | 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-301-1/+1
| | | | dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
* Dialog: Use consistent code for appending to bodyJörn Zaefferer2012-11-291-1/+1
|
* Dialog: Extract setting the title into a _title method, use .text() to ↵Jörn Zaefferer2012-11-261-4/+9
| | | | prevent XSS. Fixes #6016 - Dialog: Title XSS Vulnerability.
* Dialog: Don't focus dialog when mousedown is on close button. Fixes #8838 - ↵Jörn Zaefferer2012-11-261-3/+8
| | | | Dialog: Close icon does not work in dialog larger than the window in IE.
* Dialog: Update position when size is changed. Fixes #8789 - Dialog does not ↵Kris Borchers2012-11-261-0/+1
| | | | close for first click on chrome.
* Dialog: Follow-up to c77ca67 - exclude button options from properties to ↵Jörn Zaefferer2012-11-261-5/+8
| | | | create the button.
* Dialog: Follow-up to 9fe3a62d8 - also deprecate string notation for position ↵Jörn Zaefferer2012-11-261-60/+41
| | | | option.
* Dialog: Improve _destroy method, detaching dialog content from wrapper ↵Jörn Zaefferer2012-11-261-4/+4
| | | | instead of appending to body.
* Dialog: Refactor overlay handling into two instance methods. Remove ↵Jörn Zaefferer2012-11-261-41/+26
| | | | unaddressable TODOs.
* Dialog: Move array notation support for position option to backCompat check. ↵Jörn Zaefferer2012-11-261-23/+57
| | | | Fixes #8824 - Deprecate array notation for position option.
* Dialog: Removed broken disabled option from dialog, defuse disable/enable ↵Jörn Zaefferer2012-11-261-0/+7
| | | | methods. Disabling dialogs is not supported.
* Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, ↵Jörn Zaefferer2012-11-261-7/+15
| | | | then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
* Dialog: Pass through icons and showText (as 'text') options to button. Fixes ↵Jörn Zaefferer2012-11-261-2/+4
| | | | #6830 - Allow Icons to be specified for Dialog buttons.
* Dialog: Tiny code improvementsJörn Zaefferer2012-11-261-2/+4
|
* Dialog: Remove uuid and getTitleId. Leftovers from ↵Jörn Zaefferer2012-11-261-11/+0
| | | | 240b22b1439df22408c5782e640e98cb335c7a2e.
* Dialog: Remove busted ui-dialog-disabled class, shouldn't be there. Removed ↵Jörn Zaefferer2012-11-261-11/+0
| | | | outdated TODOs.
* Dialog: Button is now a fixed dependency, so remove the checkJörn Zaefferer2012-11-261-6/+4
|
* Dialog: Remove useless tmp vars.Jörn Zaefferer2012-11-261-7/+3
|
* Dialog: Extracting wrapper creation into _createWrapper. Merging the two ↵Jörn Zaefferer2012-11-261-64/+62
| | | | keydown handlers into one.
* Dialog: Extract button pane creation into _createButtonPaneJörn Zaefferer2012-11-261-13/+13
|
* Dialog: Refactor _create, extracting title bar creation in _createTitlebarJörn Zaefferer2012-11-261-41/+48
|
* Dialog: Refactor uiDialogTitlebar variable, use this.uiDialogTitlebar ↵Jörn Zaefferer2012-11-261-7/+5
| | | | instead. Wasn't needed anymore (previous refactorings).
* Dialog: Refactor the mousedown-bind call to use _on, removing the need for ↵Jörn Zaefferer2012-11-261-15/+15
| | | | the uiDialog closure. Use this.uiDialog and remove the variable.
* Dialog: Remove outdated TODOJörn Zaefferer2012-11-261-2/+0
|
* Dialog: Have _makeResizable look at options instead of passing handles.Jörn Zaefferer2012-11-261-3/+3
|
* Dialog: Finish refactoring _setOption, getting rid of unnecessary switch (no ↵Jörn Zaefferer2012-11-261-47/+50
| | | | fallthroughs).