From 72980ab6b22b302e01ca115c1a9a32c440053ebf Mon Sep 17 00:00:00 2001 From: "law%netscape.com" Date: Tue, 18 May 1999 22:18:16 +0000 Subject: [PATCH] Minor improvements --- xpfe/browser/src/openLocation.js | 3 +++ xpfe/browser/src/openLocation.xul | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/xpfe/browser/src/openLocation.js b/xpfe/browser/src/openLocation.js index beccae5e6a5..3cb1d898179 100644 --- a/xpfe/browser/src/openLocation.js +++ b/xpfe/browser/src/openLocation.js @@ -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 ) { diff --git a/xpfe/browser/src/openLocation.xul b/xpfe/browser/src/openLocation.xul index f86951f6e2c..18b14f2370f 100644 --- a/xpfe/browser/src/openLocation.xul +++ b/xpfe/browser/src/openLocation.xul @@ -26,7 +26,7 @@ - Choose File... + Select File... @@ -34,13 +34,13 @@ Open in new window - Open + Open - Cancel + Cancel - Help + Help @@ -62,7 +62,7 @@ - Choose File... + Select File...