This commit is contained in:
law%netscape.com 1999-05-18 22:18:16 +00:00
Родитель 91c092ae59
Коммит 72980ab6b2
2 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -42,6 +42,9 @@ function onLoad() {
dump( "unable to get browser app core\n" ); dump( "unable to get browser app core\n" );
//toolkit.CloseWindow( window ); //toolkit.CloseWindow( window );
} }
/* Give input field the focus. */
dialog.input.focus();
} }
function onTyping( key ) { function onTyping( key ) {

Просмотреть файл

@ -26,7 +26,7 @@
<html:input id="dialog.input"/> <html:input id="dialog.input"/>
</box> </box>
<box align="horizontal"> <box align="horizontal">
<html:button onclick="choose()">Choose File...</html:button> <html:button onclick="choose()">Select File...</html:button>
</box> </box>
</box> </box>
<box align="horizontal" flex="100"> <box align="horizontal" flex="100">
@ -34,13 +34,13 @@
<html:input id="dialog.newWindow" type="checkbox"/>Open in new window <html:input id="dialog.newWindow" type="checkbox"/>Open in new window
</box> </box>
<box> <box>
<html:button onclick="open()">Open</html:button> <html:button id="dialog.ok" onclick="open()">Open</html:button>
</box> </box>
<box> <box>
<html:button onclick="cancel()">Cancel</html:button> <html:button id="dialog.cancel" onclick="cancel()">Cancel</html:button>
</box> </box>
<box> <box>
<html:button onclick="help()" disabled="">Help</html:button> <html:button id="dialog.help" onclick="help()" disabled="">Help</html:button>
</box> </box>
</box> </box>
</box> </box>
@ -62,7 +62,7 @@
<html:input id="dialog.input" style="width:275;" onkeyup="onTyping(event.which)"/> <html:input id="dialog.input" style="width:275;" onkeyup="onTyping(event.which)"/>
</html:td> </html:td>
<html:td width="100"> <html:td width="100">
<html:button onclick="choose()">Choose File...</html:button> <html:button onclick="choose()">Select File...</html:button>
</html:td> </html:td>
</html:tr> </html:tr>
</html:table> </html:table>