From b7b30bb136efac283119a204c09f705dafb51618 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 beccae5e6a57..3cb1d8981793 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 f86951f6e2ce..18b14f2370f4 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...