Skip to main content

Search and Top Navigation

#4563 closed bug (worksforme)

Opened May 29, 2009 06:09PM UTC

Closed June 09, 2009 12:53AM UTC

Last modified February 08, 2010 05:27PM UTC

Dialog won't reopen if hide effect used on close?

Reported by: Stretch2m Owned by:
Priority: minor Milestone: 1.8
Component: ui.dialog Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

It appears that using a hide effect on a dialog causes problems with reopening the dialog after having been closed.

My code:

$(function() {

$("#profiledialog").dialog({

title: "Employee Profile",

width: 608,

modal: true,

resizable: false,

hide: "puff",

autoOpen: false

});

});

function openProfile() {

$("#profiledialog").dialog("open");

}

I call openProfile when I want to display the dialog. When I close the dialog, it closes with the "puff" effect correctly.

However, with the code as shown, when I subsequently call openProfile to open the profile again, the screen dims (as it should with a modal dialog) but the dialog itself does not reappear.

If I remove the "hide: 'puff'" option, when I close the dialog and call openProfile(), the dialog reappears as expected.

Could it be that the "puff" effect leaves the dialog in an invisible state? If so, how would I restore the dialog to its original state following the puff effect?

Attachments (0)
Change History (3)

Changed June 01, 2009 03:31PM UTC by jzaefferer comment:1

component: ui.coreui.dialog
milestone: TBD1.8

Changed June 09, 2009 12:53AM UTC by scottgonzalez comment:2

resolution: → worksforme
status: newclosed

I can't reproduce this.

Changed February 08, 2010 05:27PM UTC by cowboyonrails comment:3

This is a real bug, I hit the same thing. I am SO happy Stretch2m narrowed it down to the hide 'puff' functionality, I took that out, and it started working right away... I am using Firefox 3.5 (should not matter...) I will make a test case to post up here, then I will reopen the ticket.