Skip to main content

Search and Top Navigation

#8898 closed bug (worksforme)

Opened December 10, 2012 02:51PM UTC

Closed December 10, 2012 02:59PM UTC

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.

Attachments (0)
Change History (1)

Changed December 10, 2012 02:59PM UTC by scottgonzalez comment:1

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.