Commit Graph

111 Commits

Author SHA1 Message Date
Scott González
676ea7f248 Dialog: Actually removed dragHelper and resizeHelper options. Fixes #4252 - undocumented dragHelper and resizeHelper options should be removed. 2009-03-01 00:52:03 +00:00
Richard Worth
df8d64a36a Dailog: fixed #4254 - Dialog: undocumented dragHelper and resizeHelper options should be removed 2009-02-28 21:21:45 +00:00
Richard Worth
bd3dc48e02 changed ui.jquery.com to jqueryui.com 2009-02-27 11:41:40 +00:00
Scott González
eade720a3b Dialog: Fixed bug where dialogs wouldn't close if there was no animation. 2009-02-26 01:27:34 +00:00
Scott González
9581c73625 Dialog: Passing parameters to moveToTop properly. Fixed #4214 - Dialog z-index adjusted incorrectly on mousedown. 2009-02-25 05:29:01 +00:00
Scott González
d94afbee78 Dialog: When animating dialog close, wait until after the animation completes before triggering the close event. Fixes #4207 - Dialog close event occurs too early with hide effect. 2009-02-21 17:02:52 +00:00
Scott González
dcbd427cdf Dialog: Removed $.ui.dialog.topMostDialog - added for performance improvement, but not needed and could cause problems. 2009-02-19 02:35:19 +00:00
Scott González
3c7e1b3ff9 Dialog: Refactored event delegation to cancel events for modal dialogs. Fixes #2807 - dialogUI + modal mode = slow. 2009-02-19 02:20:20 +00:00
Scott González
835cbf1833 Dialog: Use event delegation to cancel events for modal dialogs. Fixes #2807 - dialogUI + modal mode = slow. 2009-02-19 02:07:05 +00:00
Scott González
06a513b753 Dialog: Refactored moveToTop, greatly improving performance for opening dialogs in IE. Partial fix for #2807 - dialog UI + modal mode = slow. 2009-02-19 01:49:33 +00:00
Scott González
2916159a08 Dialog: Don't set focus to elements in the titlebar on open. Fixes #4126 - focus on dialog open should be constrained to the contents of the dialog.
NOTE: This breaks accessibility in Safari, which doesn't allow setting focus to elements that are not natively tabbable.  However, our current stance is that people who require accessibility will not be using Safari specifically for this type of reason.
2009-02-13 03:06:43 +00:00
Richard Worth
176b2d21cd dialog: added some missing defaults 2009-02-09 11:15:23 +00:00
Scott González
0413807dfb Dialog: Don't allow the height of the content area to be negative. 2009-02-09 02:32:43 +00:00
Scott González
86a26f17ff Dialog: Fixed #4086: Allow changing the dialogClass option after init. 2009-02-07 14:28:14 +00:00
Scott González
dd3636c97a Dialog: Removed shadow option due to introducing too many bugs. (Reopens #3681). 2009-02-05 14:30:59 +00:00
Richard Worth
08a75c4991 Fixed #4050 (Dialog: undefined class being added to ui-dialog element) 2009-02-03 04:20:42 +00:00
Scott González
8c4989914b Dialog: Fixed #4015: Set z-index on shadow when the dialog opens. 2009-02-01 01:29:58 +00:00
Richard Worth
9f382c5814 dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next. 2009-01-31 05:47:58 +00:00
Scott González
171c7c0671 Dialog: Shadow cleanup.
- Don't hide shadow during drag/resize in IE6 (let the user do this one their own).
  - Let users modify the shadow option after init.


.parents('.ui-dialog')
.bind('dragstart resizestart', function() {
	$(this).find('.ui-dialog-content').dialog('option', 'shadow', false);
})
.bind('dragstop resizestop', function() {
	$(this).find('.ui-dialog-content').dialog('option', 'shadow', true);
});
2009-01-31 04:33:36 +00:00
Paul Bakaus
814fbbe747 dialog: all triggered custom events should have related events attached if possible (fixes #3718,#3983) 2009-01-29 14:08:33 +00:00
Paul Bakaus
717c5f66e8 dialog: shadow is hidden during drag/resize for slow performance browsers (currently IE < 7) (fixes #3966) 2009-01-29 10:57:45 +00:00
Scott González
9592848de3 Dialog: Fixed #3901, #3918, #3930: Don't let the minHeight for dialogs be negative (breaks IE). 2009-01-29 04:12:35 +00:00
Paul Bakaus
2ef2b87ccb dialog:
- implemented themeroller overlay, removes option overlay (now handled through CSS) (implements #3681)
- implemented shadow option (boolean), if set to true, adds shadow from css framework (implements #3681)
2009-01-27 16:53:46 +00:00
Scott González
a034903233 Dialog: Don't override title option on init. 2009-01-20 21:57:00 +00:00
Scott González
c2903d5c42 Dialog: Fixed #3688: Don't add the button pane div if there are no buttons. 2009-01-17 21:31:43 +00:00
Scott González
60856ea461 Dialog: Giving the content area and button pane priority over the title bar for which element should gain focus on open. 2009-01-17 21:00:59 +00:00
Eduardo Lundgren
8139c81d1b Revert changes for #3838 for the release 1.6rc5 2009-01-16 02:09:45 +00:00
Eduardo Lundgren
78c4d87d7b Fix for #3838 - Components should use this.widgetName on internally 2009-01-16 00:33:46 +00:00
Scott González
3741f4ee04 Dialog: Removed Opera-specific dimension code (not needed with jQuery 1.3). 2009-01-14 00:32:12 +00:00
Scott González
8e5cbf6059 Dialog: Fixed #3813: Ensure the content is visible during init. 2009-01-14 00:27:25 +00:00
Richard Worth
a11c201008 Happy New Year 2009-01-03 21:55:13 +00:00
Scott González
311c026798 Dialog: Fixed #3756: Wrong height on every other open. 2009-01-03 14:43:50 +00:00
Scott González
913d6fd35a Dialog: Fixed #3753: Cleaned ui hash in callbacks. 2009-01-03 05:55:13 +00:00
Scott González
8b9312a064 Dialog: Fixed #3731: Contain dialogs within the document when dragging. 2009-01-03 05:25:48 +00:00
Scott González
2789fca8af Dialog: Fixed #3713: Set default height to auto and default minHeight to 150. Now applying minHeight to the content div instead of only using it for resizing. 2008-12-31 01:12:43 +00:00
Scott González
22ca3849f7 Resizable: Partial fix for supporting jQuery objects in alsoResize.
Dialog: Fixed bug with content resizing.
2008-12-23 14:55:41 +00:00
Scott González
ba704e3b71 Dialog: Removed unnecessary call to moveToTop in drag start. 2008-12-23 04:40:06 +00:00
Scott González
9dc9f22201 Dialog: Move to top on mousedown instead of mouseup. 2008-12-23 04:38:50 +00:00
Scott González
5e936731bd Dialog: Passing in a DOMElement instead of a jQuery object for alsoResize to avoid resizable bug. 2008-12-23 04:32:44 +00:00
Scott González
62bf1dd3bd Dialog: Setting the correct element for alsoResize. 2008-12-23 04:23:19 +00:00
Scott González
c688dab963 Dialog: Added hover and focus states to all buttons. 2008-12-21 18:00:42 +00:00
Scott González
8fc17c78f7 Dialog: Fixed #3145: Added support for height: 'auto'. 2008-12-21 16:54:27 +00:00
Scott González
5a302934af Dialog: Fixed #3221: User outerWidth/Height for positioning. 2008-12-19 20:34:54 +00:00
Scott González
d83bb9028c Dialog: Fixed #3564: Proper positioning in Opera. 2008-12-19 20:23:57 +00:00
Scott González
03f07556bd Dialog: Fixed #3648: Use new CSS framework.
- Removed .ui-dialog-container div.
- Removed autoResize option.
2008-12-19 03:05:01 +00:00
Scott González
3af7184f03 Dialog: Partial fix for #3648: Added resizable grip. 2008-12-19 02:12:10 +00:00
Scott González
cc22cc0de3 Dialog: Partial fix for #3648: Setting proper class on hover of close button. 2008-12-18 21:59:20 +00:00
Richard Worth
ff64790b18 Fixed #3655 - $.keyCode should be $.ui.keyCode 2008-12-14 06:11:37 +00:00
Scott González
0c3bd6aff5 Dialog: Fixed #3664: Dialog fails to init on removed elements. 2008-12-13 15:12:34 +00:00
Richard Worth
24f2b7794c corrected some invalid html <div/> to <div></div> 2008-12-13 11:51:33 +00:00