Skip to main content

Search and Top Navigation

#8173 closed bug (notabug)

Opened March 08, 2012 10:59PM UTC

Closed March 10, 2012 01:19PM UTC

ui.dialog does not open after ajax.load

Reported by: Fabioold Owned by: Fabioold
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:
Description

When loading a page that contains buttons that trigger a dialog inside a div, the dialogs are not displayed. The error always happens after you run the $("#x").load() for the second time.

Attachments (0)
Change History (3)

Changed March 09, 2012 12:52PM UTC by scottgonzalez comment:1

owner: → Fabioold
status: newpending

Sounds like you're loading content with the same id multiple times and not destroying your dialogs. Please provide a reduced test case showing your problem.

Changed March 10, 2012 07:09AM UTC by Fabioold comment:2

status: pendingnew

Replying to [comment:1 scott.gonzalez]:

Sounds like you're loading content with the same id multiple times and not destroying your dialogs. Please provide a reduced test case showing your problem.

Here is a link to the bug mentioned can be seen: http://ripoldman.dyndns.org:8080/WorkFlow/index.jsp

The error occurs after clicking on button teste1, wait for the contents of the div is completed, click the teste button (a dialog will be displayed.) Close the dialog, click the button teste2 and then click the button teste1 again. From now on, the dialog is no longer displayed.

Changed March 10, 2012 01:19PM UTC by scottgonzalez comment:3

resolution: → invalid
status: newclosed

Exactly what I said above is happening.