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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user