Opened 14 years ago
Closed 14 years ago
#4355 closed bug (notabug)
Dialog: hide option doesn't work when effects.core.js included
Reported by: | rdworth | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.7 |
Component: | ui.dialog | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It works to hide a dialog with a "fadeOut" effect like so:
$("#dialog").dialog({ hide: "fadeOut" });
if you include only ui.core.js and ui.dialog.js. It breaks if you also include effects.core.js (for example in jquery-ui.js). The inclusion of effects.core.js not only breaks the hide effect, but prevents the dialog from closing.
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | 1.8 → 1.7 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
fadeOut is not a valid value for the hide option. You need to either specify a speed (always works and uses core's hide animation), or you can specify the name of an effect (requires the specific effect to be loaded).
Note: See
TracTickets for help on using
tickets.
Added visual test http://jquery-ui.googlecode.com/svn/trunk/tests/visual/dialog/dialog_ticket_4335.html