Fixed layout problems in Insert Table dialog, b=115668, r=syd, sr=ben

git-svn-id: svn://10.0.0.236/trunk@110693 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
2001-12-18 05:59:30 +00:00
parent 4d12c8e47a
commit 976711ee38
2 changed files with 3 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ function Startup()
gDialog.widthInput = document.getElementById("widthInput");
gDialog.borderInput = document.getElementById("borderInput");
gDialog.widthPixelOrPercentMenulist = document.getElementById("widthPixelOrPercentMenulist");
gDialog.OkButton = document.documentElement.getButton("accept");
// Make a copy to use for AdvancedEdit
globalElement = tableElement.cloneNode(false);
@@ -100,7 +101,7 @@ function ChangeRowOrColumn(id)
gDialog.columnsInput.value.length > 0 &&
gDialog.columnsInput.value > 0;
SetElementEnabledById("ok", enable);
SetElementEnabled(gDialog.OkButton, enable);
SetElementEnabledById("AdvancedEditButton1", enable);
}

View File

@@ -67,7 +67,7 @@
<row align="center">
<label class="align-right" value="&widthEditField.label;" />
<textbox class="narrow" id="widthInput" oninput="forceInteger(this.id)" />
<menulist id="widthPixelOrPercentMenulist"><menupopup/></menulist>
<menulist id="widthPixelOrPercentMenulist" flex="1"/>
<!-- child elements are appended by JS -->
</row>
</rows>