Search and Top Navigation
#4355 closed bug (notabug)
Opened March 17, 2009 12:23PM UTC
Closed March 17, 2009 11:38PM UTC
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.
Attachments (0)
Change History (2)
Changed March 17, 2009 12:28PM UTC by comment:1
Changed March 17, 2009 11:38PM UTC by comment:2
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).
Added visual test http://jquery-ui.googlecode.com/svn/trunk/tests/visual/dialog/dialog_ticket_4335.html