From 56c0d40a7aff0881de2684eb173532d81070a6dd Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Wed, 5 Apr 2000 02:31:19 +0000 Subject: [PATCH] Fix the Open button in the dialog to be enabled after a Choose file, and on paste. r=ben --- xpfe/browser/resources/content/openLocation.js | 2 ++ xpfe/browser/resources/content/openLocation.xul | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xpfe/browser/resources/content/openLocation.js b/xpfe/browser/resources/content/openLocation.js index b6e5abc72a36..09f9618083b6 100644 --- a/xpfe/browser/resources/content/openLocation.js +++ b/xpfe/browser/resources/content/openLocation.js @@ -131,4 +131,6 @@ function onChooseFile() } } catch(ex) { } + + doEnabling(); } diff --git a/xpfe/browser/resources/content/openLocation.xul b/xpfe/browser/resources/content/openLocation.xul index 05d46cbd6656..a49fc7d05184 100644 --- a/xpfe/browser/resources/content/openLocation.xul +++ b/xpfe/browser/resources/content/openLocation.xul @@ -49,9 +49,8 @@ - + - @@ -62,8 +61,8 @@ &enter.label; - - + +