This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Close button of full page dialog fails silently when popup exists on page (closed or open) #5382
Closed
Description
- Issue description
Dialog pages (data-rel=dialog) pages with a popup (data-role=popup) fail to respond to the close button of the Dialog regardless of the state of the popup. - Test page
http://jsfiddle.net/ShamimIslam/Y7VJC/ - Steps to reproduce
a. Create a JQM page, A with header, footer and a link, B (data-rel=dialog) to a second JQM page, C
b. Create the second JQM page, C with header, a footer and a link, D, to a popup div E (data-role=popup)
c. Create the popup div E in the content section of C.
d. Put a header and content into E
e. When done, the nesting should look like JQMDoc(A(header,content(B),footer),C(header,content(D,E),footer))
f. Open the page and click the link B to get to the dialog C - Expected outcome
When I click the X to close the dialog C header, it will close - Actual outcome
When I click the X to close the dialog C header, it does nothing - Firefox 17.0.1/Fedora 17/x86_64, Android Browser/Android ICS 4.0.4/Razr Maxx
- JQM 1.2.0, JQuery 1.8.2
- An explicit link to "$('ui-dialog').dialog('close') (link, button, etc) works w/in the dialog content section.