aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
Commit message (Collapse)AuthorAgeFilesLines
* Protect all copyright notices against minificationJörn Zaefferer2012-04-021-1/+1
| | | | | | | | For instance, this is useful for the jquery-ui-rails gem, which does not use jQuery UI's own minification, but relies on Rails to minify the files where necessary. Rails in turn uses UglifyJS for JS and YUI for CSS, both of which respect the /*! ... */ convention. (cherry picked from commit 37dcc3e21df5f1373ff9963217073a9faecfc057, dropped menu, spinner and tooltip)
* Updated copyright year.Scott González2012-03-191-1/+1
|
* Dialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it ↵Corey Frang2011-08-201-1/+1
| | | | | | would everywhere, switching back to keydown. (cherry picked from commit dfe75e1b552013c440186645a7a1ae9ec3c757b5)
* Dialog: Tabbing out of a modal dialog was possible because keypress doesn't ↵Corey Frang2011-08-191-3/+3
| | | | | | fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog (cherry picked from commit 96e5c241e1b26224c53738b590e07290db7a3e54)
* Backport of f9996682b5739661c21548f0de3d4c4883c5119d for 1-8-stable.Andreas Pelme2011-08-021-2/+2
| | | | | Original commit message from f9996682b5739661c21548f0de3d4c4883c5119d: Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs.
* jQuery 1.6 support.Scott González2011-07-291-1/+1
|
* Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. ↵Jörn Zaefferer2011-05-181-2/+2
| | | | | | Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar (cherry picked from commit 29b36bb4090632aaf306cc44591386c0263c9d27)
* Dialog: Don't use .attr( props, true ) for creating buttons since that API ↵Scott González2011-04-071-2/+23
| | | | doesn't exist in jQueery 1.3.2. Fixes #7226 - Dialog buttons badly handled with JQuery 1.3.2.
* Updated copyright year.Scott González2011-01-171-1/+1
|
* Dialog: Moved the default value for the position.of option inside the ↵Scott González2010-12-081-2/+1
| | | | | | _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError. This should be reverted in jQuery UI 1.9.
* Dialog: Don't hide the dialog in _size if it started visible. Fixes #6717 - ↵Scott González2010-12-031-2/+5
| | | | Dialog: Adding a button makes the dialog disappear in IE6.
* Dialog: Ensure dialogs have a z-index when calculating the max z-index. ↵jamiejag2010-11-191-2/+5
| | | | Fixex #5955 - Dialog: Closing UI dialog when z-index is not defined in any .ui-dialog class, causes NaN to be used as Z-index, throwing an error. Fixes #4652 - Dialog: Event loss in subsequent dialog calls (FF3).
* Dialog: Added some missing semicolons.Scott González2010-11-121-2/+2
|
* Dialog: Make sure the overlay instance still exists before trying to remove ↵Jay Merrifield2010-11-121-1/+4
| | | | it. Fixes #6645 - Dialog: Missing element not found check in overlay code.
* Dialog: Fixed logic for mimicking minHeight. Fixes #6150 - Dialog ↵Scott González2010-10-051-14/+21
| | | | height:auto does not work in IE6.
* Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') ↵John Firebaugh2010-10-041-3/+0
| | | | causes form elements to reset on IE7.
* Revert "Dialog: Don't change DOM position on open. Fixes #6137 - ↵Scott González2010-10-041-0/+3
| | | | | | | | dialog('open') causes form elements to reset on IE7." This reverts commit 67b1db14c964418ce8b1fd760d54761040cc32af. Reverting so I can commit again with the proper author.
* Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') ↵Scott González2010-10-041-3/+0
| | | | causes form elements to reset on IE7.
* Dialog: Don't pass props to jQuery when creating buttons.Scott González2010-10-011-1/+2
| | | | Thanks jitter.
* Dialog: Set the type on buttons. Fixes #6128 - Dialog: Buttons are not ↵Scott González2010-09-301-1/+1
| | | | type="button".
* Dialog: Batch size-related option settings.Scott González2010-09-271-43/+47
|
* Dialog: Don't call draggable.destroy if we're not currently draggable. Fixes ↵Scott González2010-09-201-4/+7
| | | | #6069 - DIALOG windows 1.8.5 draggapble problem.
* Dialog: If the browser doesn't support minHeight, use height to set the ↵Scott González2010-09-071-1/+2
| | | | minHeight. Fixes #6027 - Dialog: minHeight isn't properly handled on init in IE6.
* Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - ↵Scott González2010-09-021-1/+1
| | | | Dialog: _isOpen flag should be set before triggering open event.
* Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: ↵Scott González2010-08-311-4/+9
| | | | Enhanced Button Option.
* Dialog: When using the title attribute, update the title option. Fixes #5877 ↵Scott González2010-08-271-1/+2
| | | | - Dialog: when using the title attribute, the title option should be updated.
* Dialog: Don't return true when we don't want to cancel events. Fixes #3523 - ↵Scott González2010-08-271-1/+4
| | | | Dialog: onclick return value ignored.
* Dialog: modified so that minWidth is respected. Fixes #5531 - dialog width ↵Ziling Zhao2010-07-301-0/+4
| | | | should be at least minWidth on creation.
* Revert "Use pushStack in widget method. Fixes #5732 - make the widget method ↵Scott González2010-07-301-1/+1
| | | | | | maintain the stack" This reverts commit ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.
* Use pushStack in widget method. Fixes #5732 - make the widget method ↵jzaefferer2010-07-301-1/+1
| | | | maintain the stack
* Dialog: Wrap buttons in a div so we can float the div instead of the ↵Scott González2010-07-291-2/+5
| | | | individual buttons. Fixes #4529 - dialog buttons are accessed in wrong order using tab.
* Revert "Dialog: Don't set specific dimensions on the overlay - let it expand ↵Scott González2010-07-211-1/+5
| | | | | | based on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar." This reverts commit b548d34e14421176be49d218f40feb18c5bc8f49.
* Dialog: Don't set specific dimensions on the overlay - let it expand based ↵Scott González2010-07-201-5/+1
| | | | on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar.
* Dialog: Adjusted logic for finding the first tabbable element. Fixes #5767 - ↵Scott González2010-07-161-6/+3
| | | | On open, the first tabbable element inside the dialog was never being focused in favor of the dialog container.
* Dialog: Fixed whitespace.Scott González2010-07-161-9/+10
|
* Dialog: allow setting position with ui.position arguments. Fixes #5459 - ↵Ben Hollis2010-07-141-46/+40
| | | | Dialog: expose .position() API
* All: Added http://jqueryui.com/about to header comments.Scott González2010-07-141-1/+1
|
* Dialog: Verify that we get a string back from .attr( "title" ) before using ↵Scott González2010-07-141-0/+4
| | | | the return value. Fixes #5742 - Form field with `name="title"` moved to title area.
* All: Define a local undefined variable inside the main closure.Scott González2010-07-131-1/+1
|
* Dialog: add resize call when changing button options for correct height ↵Jon Palmer2010-07-111-0/+1
| | | | adjustment. Fixes remaining issues in #4846 - Setting Dialog height shorter after init hides button pane
* Updated copyright headers to make it clear that you can choose between MIT ↵Scott González2010-07-091-3/+3
| | | | and GPLv2. Also added a link to http://jquery.org/license.
* Fixed size calculations for dialogs.Scott González2010-03-251-2/+5
| | | | Fixes #5392 - Dialog explicit height doesn't match given value from set option.
* Dialog: Use .height(0) instead of .hide(0) when determining the size of the ↵Scott González2010-03-221-1/+1
| | | | | non-content area of a dialog. Partial fix for #5392 - Dialog explicit height doesn't match given value from set option.
* Dialog: quiet JSLintRichard Worth2010-03-121-90/+155
|
* dialog: corrected typo in ui.position property for drag events. Updated unit ↵Richard Worth2010-03-111-1/+1
| | | | tests tracking fix of #5291
* Filter properties to forward to dialog events on resize and drag etc. - fix ↵Jörn Zaefferer2010-03-051-6/+22
| | | | for #5291
* Pass through resizable and draggable ui objects in dialog - partial fix for ↵Jörn Zaefferer2010-03-051-11/+11
| | | | #5291
* Dialog: Fixed modal overlay instance tracking.Scott González2010-03-031-7/+7
| | | | | Fixes #5228 - $.inArray's parameter. Fixes #5263 - Dialog Close Then Destroy Destroys Overlay Twice, Causes Exceptions Later.
* Dialog: Use .height() to calculate height of dialog before drag.Scott González2010-02-241-1/+1
| | | | Fixes #5221 - Buttons disappear after dragging dialog.
* Dialog: ESC key event was not being canceled after it was handled (Fixed ↵Brant Burnett2010-02-221-4/+12
| | | | #4922 window.location.reload() doesn't work in dialog's close callback when it's triggered by ESC in Firefox)