Permalink
Browse files

Demos: Popup: Removed weird (and almost certainly accidental) popup-i…

…nside-popup embedding.

(cherry picked from commit 4523761)
  • Loading branch information...
gabrielschulhof committed May 7, 2013
1 parent 3c53106 commit 13303099d960ee090537e27f91e031123c182b27
Showing with 13 additions and 15 deletions.
  1. +13 −15 demos/widgets/popup/index.php
@@ -137,21 +137,19 @@
<div data-demo-html="true">
<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>
- <div data-role="popup" id="popupMenu" data-theme="a">
- <div data-role="popup" id="popupLogin" data-theme="a" class="ui-corner-all">
- <form>
- <div style="padding:10px 20px;">
- <h3>Please sign in</h3>
- <label for="un" class="ui-hidden-accessible">Username:</label>
- <input type="text" name="user" id="un" value="" placeholder="username" data-theme="a" />
-
- <label for="pw" class="ui-hidden-accessible">Password:</label>
- <input type="password" name="pass" id="pw" value="" placeholder="password" data-theme="a" />
-
- <button type="submit" data-theme="b" data-icon="check">Sign in</button>
- </div>
- </form>
- </div>
+ <div data-role="popup" id="popupLogin" data-theme="a" class="ui-corner-all">
+ <form>
+ <div style="padding:10px 20px;">
+ <h3>Please sign in</h3>
+ <label for="un" class="ui-hidden-accessible">Username:</label>
+ <input type="text" name="user" id="un" value="" placeholder="username" data-theme="a" />
+
+ <label for="pw" class="ui-hidden-accessible">Password:</label>
+ <input type="password" name="pass" id="pw" value="" placeholder="password" data-theme="a" />
+
+ <button type="submit" data-theme="b" data-icon="check">Sign in</button>
+ </div>
+ </form>
</div>
</div><!--/demo-html -->

0 comments on commit 1330309

Please sign in to comment.