Ticket #5566 (closed bug: notabug)

Opened 3 years ago

Last modified 8 months ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 3 years ago by narcis

zip file containing the scenario of the bug

comment:1 Changed 3 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to invalid

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 3 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 3 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 8 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.