I added the following to the base of my page.tpl.html page to implement a dialog page for my about us page:

<div data-role="header" data-theme="b">
		<h1>About Us</h1>
	</div>

	<div data-role="content" data-theme="b">
		<p>Content here.....</p>
		<div class="showastabs center">
				<a href="#" data-rel="back" data-icon="ok" data-iconpos="left" data-role="button" data-inline="true">Ok</a>
		</div>
		
	</div>

I then added the following link to access the dialog window:

<a href="#aboutus" data-position-to="window" data-transition="pop" data-rel="dialog" data-inline="true">About</a>

When I click the link, and click the "Ok" button on the dialog window and it returns to the previous page the top element on the page is removed and I cannot access my slider menu.

Comments

tyler.frankenstein’s picture

Status: Active » Needs review

I'm not sure, I haven't used dialog windows yet. Maybe the href on the OK link should be href="" instead of href="#". DrupalGap won't understand a path of '#' if for some reason jQM tried to navigate there.

tyler.frankenstein’s picture

Component: Mobile App Development Kit » Ripple Emulator in Chrome
Issue summary: View changes
Status: Needs review » Closed (works as designed)

Closing due to inactivity, please open a new issue if a problem persists.