Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0"?>
<!-- Any copyright is dedicated to the Public Domain.
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
title="Sample sub-dialog #2" style="width: 32em; height: 5em;"
onload="document.getElementById('textbox').focus();">
<dialog id="subDialog">
<script>
document.addEventListener("dialogaccept", acceptSubdialog);
function acceptSubdialog() {
window.arguments[0].acceptCount++;
}
</script>
<description id="desc">A sample sub-dialog for testing</description>
<html:input id="textbox" value="Default text" />
<separator class="thin"/>
<button oncommand="window.close();" label="Close" />
</dialog>
</window>