Opened 10 years ago

Closed 10 years ago

#8898 closed bug (worksforme)

Dialog: Error with hide effect

Reported by: casty Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.dialog Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description

i've this script: $.extend($.ui.dialog.prototype.options, {

show: {

effect: "drop", direction: "up"

}, hide: {

effect: "drop", direction: "down"

}

});

when i try to close the dialog i got this error:"TypeError: $.effects.effect is undefined".

thank you for your job.

Change History (1)

comment:1 Changed 10 years ago by Scott González

Component: ui.widgetui.dialog
Resolution: worksforme
Status: newclosed
Summary: ui widget breaks on prototype extension (line 505, jquery.ui.widget.js)Dialog: Error with hide effect

It sounds like you're not including the effects files (and maybe using an old version of jQuery UI). Please ask for help on the forums or StackOverflow or provide a reduced test case showing the problem if you still believe this is a bug in jQuery UI.

Note: See TracTickets for help on using tickets.