Permalink
Browse files

[dialog docs] Add popup links to the list of exceptions to the rule t…

…hat any link from a dialog will close a dialog
  • Loading branch information...
1 parent e017ec7 commit 8dee450ec4a46c0db59ff728fcf630d094534fdb @gabrielschulhof gabrielschulhof committed Sep 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 docs/pages/dialog/index.html
@@ -62,7 +62,8 @@
<h2>Closing dialogs</h2>
- <p>When any link is clicked within a dialog, the framework will automatically close the dialog and transition to the requested page, just as if the dialog were a normal page. Nevertheless, dialogs can also be chained, as explained below under <strong>"Chaining Dialogs"</strong>. To create a "cancel" button in a dialog, just link to the page that triggered the dialog to open and add the <code>data-rel="back"</code> attribute to your link. This pattern of linking to the previous page is also usable in non-JS devices as well.</p>
+ <p>When any link is clicked within a dialog, the framework will automatically close the dialog and transition to the requested page, just as if the dialog were a normal page. Nevertheless, dialogs can also be chained, as explained below under <strong>"Chaining Dialogs"</strong>. Similarly, a link that opens a popup will also leave the dialog in place.</p>
+ <p>To create a "cancel" button in a dialog, just link to the page that triggered the dialog to open and add the <code>data-rel="back"</code> attribute to your link. This pattern of linking to the previous page is also usable in non-JS devices as well.</p>
<p>For JavaScript-generated links, you can simply set the href attribute to "#" and use the <code>data-rel="back"</code> attribute. You can also call the dialog's <code>close()</code> method to programmatically close dialogs, for example: <code>$('.ui-dialog').dialog('close')</code>. </p>
<h3>Setting the close button text</h3>

0 comments on commit 8dee450

Please sign in to comment.