Opened 11 years ago

Closed 11 years ago

#8173 closed bug (notabug)

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.

Change History (3)

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

Owner: set to 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.

comment:2 in reply to:  1 Changed 11 years ago by Fabioold

Status: pendingnew

Replying to 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.

comment:3 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

Exactly what I said above is happening.

Note: See TracTickets for help on using tickets.