aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
Commit message (Collapse)AuthorAgeFilesLines
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-854/+0
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* All: Remove "Depends" commentRafael Xavier de Souza2014-01-241-9/+0
| | | | | Ref #9464 Ref gh-1029
* All: Wrap source files with UMD return exportsRafael Xavier de Souza2014-01-241-3/+22
| | | | | Ref #9464 Ref gh-1029
* Dialog: Keep track of instances to focus when elements outside the dialog ↵Jörn Zaefferer2013-11-201-2/+21
| | | | get focus. Works with inheritance. Adds tests for both. Fixes #9241 - Dialog: UI dialog inheritance causes undefined property '_focusTabbable' in IE9
* Dialog: Update code style, adding whitespace around string arguments and ↵Jörn Zaefferer2013-11-151-51/+51
| | | | array indices
* Dialog: Restore focus to the previously focused element when window regains ↵Jörn Zaefferer2013-11-151-9/+24
| | | | focus. Fixes #9101 - Dialog: Track last focused element instead of always focusing the first tabbable element
* Dialog: Move option category hashes into the widget prototype.Scott González2013-10-241-18/+19
|
* Dialog: Added note explaining that _on() is safe to use for shared handlers ↵Scott González2013-10-031-0/+2
| | | | because of stacking.
* Dialog: Switch back to shuffling z-index, but only look at .ui-front siblings.Jörn Zaefferer2013-10-021-1/+11
| | | | | 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: Safe activeElement access.TJ VanToll2013-10-011-5/+18
| | | | | Fixed #9420 - Dialog: Close causes blur of window in IE9 Fixed #8443 - Dialog: "unspecified error" when using ie9 and iframe
* Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: ↵Scott González2013-08-151-1/+1
| | | | Capitalize 'close' for closeText option.
* Dialog: Search the correct document for focus trapping. Fixes #9439 - ↵Scott González2013-08-071-23/+32
| | | | Dialog: Context is not respected for modals.
* Dialog: Use proper position data after drag and resize. Fixes #9351 - ↵Scott González2013-05-311-6/+21
| | | | Dialog: Incorrect value for position option after resize.
* Dialog: Add type="button" to the close button. Fixed #9312: Dialog: closes ↵TJ VanToll2013-05-231-1/+4
| | | | on enter in textbox in IE.
* All: Remove inline JSHint settings.Scott González2013-04-221-1/+0
|
* 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.