root / trunk / tests / widget / dialogContents.html

Revision 6703, 0.5 kB (checked in by bill, 2 years ago)

fix race condition in the test files (the dlg variable set in the main html file
via dojo.addOnLoad() may or may not be available when the href for the dialog is
loaded)

Line 
1<!-- this file is loaded into the dialog widget -->
2
3<script>
4        var btn = document.getElementById("hider");
5        _container_.setCloseControl(btn);
6</script>
7
8<form onsubmit="return false;">
9        <table>
10                <tr>
11                        <td>Name:</td>
12                        <td><input type="text"/></td>
13                </tr>
14                <tr>
15                        <td>Location:</td>
16                        <td><input type="text"/></td>
17                </tr>
18                <tr>
19                        <td>Description:</td>
20                        <td><input type="text"/></td>
21                </tr>
22                <tr>
23                        <td colspan="2" align="right">
24                                <input type="button" id="hider" value="OK"/></td>
25                </tr>
26        </table>
27</form>
Note: See TracBrowser for help on using the browser.