Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 1330309

Browse files
author
Gabriel Schulhof
committed
Demos: Popup: Removed weird (and almost certainly accidental) popup-inside-popup embedding.
(cherry picked from commit 4523761)
1 parent 3c53106 commit 1330309

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

demos/widgets/popup/index.php

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,19 @@
137137
<div data-demo-html="true">
138138
<a href="#popupLogin" data-rel="popup" data-position-to="window" data-role="button" data-inline="true" data-icon="check" data-theme="a" data-transition="pop">Sign in</a>
139139

140-
<div data-role="popup" id="popupMenu" data-theme="a">
141-
<div data-role="popup" id="popupLogin" data-theme="a" class="ui-corner-all">
142-
<form>
143-
<div style="padding:10px 20px;">
144-
<h3>Please sign in</h3>
145-
<label for="un" class="ui-hidden-accessible">Username:</label>
146-
<input type="text" name="user" id="un" value="" placeholder="username" data-theme="a" />
147-
148-
<label for="pw" class="ui-hidden-accessible">Password:</label>
149-
<input type="password" name="pass" id="pw" value="" placeholder="password" data-theme="a" />
150-
151-
<button type="submit" data-theme="b" data-icon="check">Sign in</button>
152-
</div>
153-
</form>
154-
</div>
140+
<div data-role="popup" id="popupLogin" data-theme="a" class="ui-corner-all">
141+
<form>
142+
<div style="padding:10px 20px;">
143+
<h3>Please sign in</h3>
144+
<label for="un" class="ui-hidden-accessible">Username:</label>
145+
<input type="text" name="user" id="un" value="" placeholder="username" data-theme="a" />
146+
147+
<label for="pw" class="ui-hidden-accessible">Password:</label>
148+
<input type="password" name="pass" id="pw" value="" placeholder="password" data-theme="a" />
149+
150+
<button type="submit" data-theme="b" data-icon="check">Sign in</button>
151+
</div>
152+
</form>
155153
</div>
156154
</div><!--/demo-html -->
157155

0 commit comments

Comments
 (0)