Scott González
286941ef8d
Dialog: Only create the button pane once and store a reference to it. Fixes #8343 - _createButtons removes all elements with .ui-dialog-buttonpane class.
2012-05-22 08:28:53 -04:00
Scott González
8fcf7ea828
Dialog: Remove uses of self var; use that var.
2012-05-09 20:20:15 -04:00
Scott González
650fe5c5db
Dialog: Removed trailing whitespace.
2012-05-07 09:57:18 -04:00
Jay Merrifield
cab4c467d9
Dialog: Handle escape for all overlays. Fixes #8300 - Dialog: Incorrect behavior for ESCAPE with multiple modal dialogs.
2012-05-07 09:44:26 -04:00
Scott González
cb8474af1d
Remove trailing whitespace.
2012-04-18 21:57:51 -04:00
Scott González
639afa5954
Lint fixes.
2012-04-02 19:12:21 -04:00
Jo Liss
37dcc3e21d
Protect all copyright notices against minification
...
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.
2012-04-02 15:21:06 +02:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
Alberto Monteiro
a4b7feabd3
Dialog: When destroy is called place the element back in original DOM position. Fixed #4980 - Dialog: Destroy should place element back in original DOM position
2011-12-15 17:52:49 -03:00
James Khoury
ce0afde900
Dialog: Modified the dialog._size() to use outerHeight in calculating the nonContentHeight. Fixed #7692 - dialog: dialog height bug is incorrect when .ui-dialog padding set.
2011-11-28 16:52:10 -05:00
Jörn Zaefferer
66f9e12797
Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore.
2011-11-18 17:08:40 +01:00
Scott González
a0856efef3
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
2011-10-20 16:57:47 -04:00
Florian Gutmann
42d33f2f86
Dialog: fix small memory leak when having lot's of instances. Fixes #7793 - Small memory leak in ui dialog.
2011-10-14 11:18:48 -04:00
Corey Frang
dfe75e1b55
Dialog: Update to 96e5c24
- keyup apparently doesn't work like I thought it would everywhere, switching back to keydown.
2011-08-20 18:05:39 -05:00
Corey Frang
96e5c241e1
Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog
2011-08-19 06:03:59 -05:00
Scott González
19a9de7e66
Merge branch 'master' into core-1.6.1
...
Conflicts:
demos/menubar/default.html
tests/unit/autocomplete/autocomplete.html
tests/visual/effects/effects.all.html
ui/jquery.ui.menu.js
ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
0dc4a48762
Dialog: Append the dialog to the body early to make sure styles from the classes get applied.
2011-07-12 09:16:22 -04:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -04:00
Scott González
6a5b21fda2
All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances.
2011-05-28 15:39:55 -04:00
Jay Merrifield
e34dbfeef0
Dialog: Removed the height() tinkering which stops the dialog from shrinking. Fixes #5916 - Dialog: shrinks on drag in IE in standards mode, worse in quirksmode.
2011-05-26 23:30:56 -04:00
David Murdoch
c7eae7b264
Dialog: Make close() a noop if the dialog is already closed. Fixes #7327 - Dialog box size and close animation bugs.
2011-05-26 19:29:11 -04:00
Jörn Zaefferer
1c193085e1
Merge remote branch 'kborchers/bug_3623'
2011-05-18 17:07:02 +02:00
Scott González
a0f16a00b9
Dialog: Reduce old overlay dimensions to 0x0 to avoid sizing issues. Fixes #5637 - Dialog: Dimensions of reused overlay may cause scrollbars.
2011-05-18 09:34:50 -04:00
kborchers
331c4602a9
Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall
2011-05-12 15:14:58 -05:00
kborchers
29b36bb409
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
2011-05-12 13:31:15 -05:00
Kato Kazuyoshi
27f943bf36
Dialog: 'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020).
2011-05-07 16:02:06 +09:00
Adam Baratz
51df02ee4e
Dialog: remove unneeded DOM manipulations. Fixed #7258 - optimize initialization.
2011-05-02 18:03:14 -04:00
Jay Merrifield
f9996682b5
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.
2011-03-08 09:42:10 -05:00
Douglas Neiner
15c97e0b76
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing
2011-03-03 09:37:16 -05:00
Scott González
3e370a4467
Dialog: Use ._focusable() and ._hoverable().
2011-01-24 21:58:40 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
e0b52831fc
Updated widgets to use new methods from $.Widget.
2011-01-15 06:34:07 -05:00
Scott González
56c4c6aca9
Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods.
2011-01-14 17:11:22 -05:00
Scott González
04667b1518
Dialog: Fixed creation of close button in IE.
...
Thanks dkiselev.
2011-01-11 14:34:17 -05:00
Max Schnur
727d00dec8
Dialog: Modified close button binding to use event.preventDefault() instead of return false. Fixes #6766 - Dialog: Clicks on close button don't bubble.
2010-12-20 09:00:28 -05:00
Scott González
c614889b30
Dialog: Coding standards.
2010-12-17 19:53:22 -05:00
Scott González
ca0ac5a64f
All: Remove workaround for .offset() setter bug from older versions of jQuery.
2010-12-11 15:19:25 -05:00
Scott González
b42125af43
Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose.
2010-12-10 14:31:36 -05:00
Scott González
0e15f573d6
Revert "Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError."
...
This reverts commit 22671ad4f8
.
2010-12-10 13:42:29 -05:00
Scott González
22671ad4f8
Dialog: Moved the default value for the position.of option inside the _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.
2010-12-08 12:36:19 -05:00
Scott González
b9e34f726a
Dialog: Don't hide the dialog in _size if it started visible. Fixes #6717 - Dialog: Adding a button makes the dialog disappear in IE6.
2010-12-03 08:31:06 -05:00
jamiejag
8bb412dd4a
Dialog: Ensure dialogs have a z-index when calculating the max z-index. 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).
2010-11-19 09:02:01 -05:00
Scott González
c2139fc2e6
Dialog: Added some missing semicolons.
2010-11-12 12:57:34 -05:00
Jay Merrifield
dfb3544297
Dialog: Make sure the overlay instance still exists before trying to remove it. Fixes #6645 - Dialog: Missing element not found check in overlay code.
2010-11-12 08:16:41 -05:00
Scott González
302728bd87
Dialog: Fixed logic for mimicking minHeight. Fixes #6150 - Dialog height:auto does not work in IE6.
2010-10-05 16:20:43 -04:00
John Firebaugh
e66cdfcf59
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:18:46 -04:00
Scott González
c090802cc1
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
...
This reverts commit 67b1db14c9
.
Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:15:40 -04:00
Scott González
d7670b9407
Dialog: Don't pass props to jQuery when creating buttons.
...
Thanks jitter.
2010-10-01 11:19:24 -04:00
Scott González
cd7f10d480
Dialog: Set the type on buttons. Fixes #6128 - Dialog: Buttons are not type="button".
2010-09-30 10:17:52 -07:00