diff --git a/mozilla/editor/ui/dialogs/content/EdDialogCommon.js b/mozilla/editor/ui/dialogs/content/EdDialogCommon.js index e35cde86aa5..6514d7df6f7 100644 --- a/mozilla/editor/ui/dialogs/content/EdDialogCommon.js +++ b/mozilla/editor/ui/dialogs/content/EdDialogCommon.js @@ -273,7 +273,7 @@ function GetAppropriatePercentString() { var selection = window.editorShell.editorSelection; if (selection) { - if (editorShell.GetElementOrParentByTagName("td",selection.focusNode)); + if (editorShell.GetElementOrParentByTagName("td",selection.focusNode)) return GetString("PercentOfCell"); } return GetString("PercentOfWindow"); diff --git a/mozilla/editor/ui/dialogs/content/EdHLineProps.xul b/mozilla/editor/ui/dialogs/content/EdHLineProps.xul index 2474dc86efc..b7b31501c43 100644 --- a/mozilla/editor/ui/dialogs/content/EdHLineProps.xul +++ b/mozilla/editor/ui/dialogs/content/EdHLineProps.xul @@ -51,12 +51,12 @@ - &pixelsPopup.value; + &pixelsPopup.value; - &widthEditField.label; + &widthEditField.label;