From c351cbf858726b45e6b81b71f8bb1f1f3c19299a Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Fri, 2 Feb 2001 00:14:29 +0000 Subject: [PATCH] Fixed align menulist in Image properties dialog, b=66354, r=blake, sr=sfraser git-svn-id: svn://10.0.0.236/trunk@86006 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/dialogs/content/EdImageProps.js | 11 +++++++++++ mozilla/editor/ui/dialogs/content/EdImageProps.xul | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/mozilla/editor/ui/dialogs/content/EdImageProps.js b/mozilla/editor/ui/dialogs/content/EdImageProps.js index c586d76ac9f..d6e308f4d27 100644 --- a/mozilla/editor/ui/dialogs/content/EdImageProps.js +++ b/mozilla/editor/ui/dialogs/content/EdImageProps.js @@ -793,3 +793,14 @@ function onImageCancel() CancelTimer(); onCancel(); } + +function onAlignFocus() +{ + dialog.alignText.setAttribute("focused", "true"); +} + +function onAlignBlur() +{ + dialog.alignText.removeAttribute("focused"); +} + diff --git a/mozilla/editor/ui/dialogs/content/EdImageProps.xul b/mozilla/editor/ui/dialogs/content/EdImageProps.xul index 23c257a7eed..f455b32bcca 100644 --- a/mozilla/editor/ui/dialogs/content/EdImageProps.xul +++ b/mozilla/editor/ui/dialogs/content/EdImageProps.xul @@ -226,7 +226,7 @@ + style="height: 15px" onfocus="onAlignFocus();" onblur="onAlignBlur();"> @@ -263,7 +263,7 @@ mousethrough="always"> - +