Opened 11 years ago

Closed 11 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:2 Changed 11 years ago by Scott González

Milestone: 1.81.7
Resolution: invalid
Status: newclosed

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.