From f45b24c116a980d2cd47d873a4984df0c9514446 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Wed, 16 Aug 2000 22:50:25 +0000 Subject: [PATCH] Fix for 49118, r=ben --- xpfe/global/resources/content/commonDialog.js | 4 ++-- xpfe/global/resources/content/xulBindings.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xpfe/global/resources/content/commonDialog.js b/xpfe/global/resources/content/commonDialog.js index 18a96d56da4f..9cd895dd7c3a 100644 --- a/xpfe/global/resources/content/commonDialog.js +++ b/xpfe/global/resources/content/commonDialog.js @@ -114,7 +114,7 @@ function commonDialogOnLoad() var label = param.GetString(4); if (label) setElementText(labelID, label); - field.focusTextField(); + field.focus(); break; case 1: @@ -136,7 +136,7 @@ function commonDialogOnLoad() unHideElementByID(containerID); var field = document.getElementById(fieldID); field.value = param.GetString(6); - field.focusTextField(); + field.focus(); break; } diff --git a/xpfe/global/resources/content/xulBindings.xml b/xpfe/global/resources/content/xulBindings.xml index ec5c22ce8c25..4d98cb8e6e88 100644 --- a/xpfe/global/resources/content/xulBindings.xml +++ b/xpfe/global/resources/content/xulBindings.xml @@ -254,7 +254,7 @@ - + document.getAnonymousNodes(this)[0].firstChild.focus(); @@ -266,7 +266,7 @@ - +