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"> - +