mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Minor improvements
This commit is contained in:
parent
6b4b4b84c4
commit
b7b30bb136
@ -42,6 +42,9 @@ function onLoad() {
|
||||
dump( "unable to get browser app core\n" );
|
||||
//toolkit.CloseWindow( window );
|
||||
}
|
||||
|
||||
/* Give input field the focus. */
|
||||
dialog.input.focus();
|
||||
}
|
||||
|
||||
function onTyping( key ) {
|
||||
|
@ -26,7 +26,7 @@
|
||||
<html:input id="dialog.input"/>
|
||||
</box>
|
||||
<box align="horizontal">
|
||||
<html:button onclick="choose()">Choose File...</html:button>
|
||||
<html:button onclick="choose()">Select File...</html:button>
|
||||
</box>
|
||||
</box>
|
||||
<box align="horizontal" flex="100">
|
||||
@ -34,13 +34,13 @@
|
||||
<html:input id="dialog.newWindow" type="checkbox"/>Open in new window
|
||||
</box>
|
||||
<box>
|
||||
<html:button onclick="open()">Open</html:button>
|
||||
<html:button id="dialog.ok" onclick="open()">Open</html:button>
|
||||
</box>
|
||||
<box>
|
||||
<html:button onclick="cancel()">Cancel</html:button>
|
||||
<html:button id="dialog.cancel" onclick="cancel()">Cancel</html:button>
|
||||
</box>
|
||||
<box>
|
||||
<html:button onclick="help()" disabled="">Help</html:button>
|
||||
<html:button id="dialog.help" onclick="help()" disabled="">Help</html:button>
|
||||
</box>
|
||||
</box>
|
||||
</box>
|
||||
@ -62,7 +62,7 @@
|
||||
<html:input id="dialog.input" style="width:275;" onkeyup="onTyping(event.which)"/>
|
||||
</html:td>
|
||||
<html:td width="100">
|
||||
<html:button onclick="choose()">Choose File...</html:button>
|
||||
<html:button onclick="choose()">Select File...</html:button>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
|
Loading…
Reference in New Issue
Block a user