#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)
Change History (5)
Changed 13 years ago by
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 13 years ago by
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 13 years ago by
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.
zip file containing the scenario of the bug