Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5566 closed bug (notabug)

dialog is not working properly under the tabs

Reported by: narcis Owned by:
Priority: critical Milestone:
Component: ui.dialog Version: 1.8
Keywords: dialog under tabs Cc:
Blocked by: Blocking:

Description

Hi,

I have 3 html pages: tabs.html, tab1.html, tab2.html. The last 2 are identical, containing each one a dialog. I load tabs.html and tab1.html. I can show the dialog. If I navigate on the second tab and/or back, the dialog can not be shown anymore.

Hint: If I change the id of div/dialog in the second tab, each dialog can be shown only once, immediately after the tab is clicked and displayed.

I attached the example.

Thanks Narcis

Attachments (1)

try.zip (122.5 KB) - added by narcis 9 years ago.
zip file containing the scenario of the bug

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by narcis

Attachment: try.zip added

zip file containing the scenario of the bug

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

Resolution: invalid
Status: newclosed

tabs1.html and tabs2.html are identical, which means you're loading multiple elements with the same id into the same page. Please use the forums to ask for help.

comment:2 Changed 9 years ago by narcis

Thank you.

Actually is my mistake, I placed the dialog out of the tab (outside of tab's div) and I just call it from the tab, and is working fine.

comment:3 Changed 9 years ago by narcis

Actually, the problem was another one. I load an identical html, but on the same div (this means that when I click one tab, the html is loading in the same and only one div), so I don't load multiple elements with the same id. The problem was that in the loade document I load the entire html page structure including <head> that includes the jquery-ui script, and that generated the problem.

comment:4 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.