From 1d36afaa71ef06f3eba9e2c715619baa86ec5a02 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Tue, 18 Dec 2001 05:59:30 +0000 Subject: [PATCH] Fixed layout problems in Insert Table dialog, b=115668, r=syd, sr=ben --- editor/ui/dialogs/content/EdInsertTable.js | 3 ++- editor/ui/dialogs/content/EdInsertTable.xul | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/editor/ui/dialogs/content/EdInsertTable.js b/editor/ui/dialogs/content/EdInsertTable.js index ca8b1d0bfbe..4665c09830e 100644 --- a/editor/ui/dialogs/content/EdInsertTable.js +++ b/editor/ui/dialogs/content/EdInsertTable.js @@ -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); } diff --git a/editor/ui/dialogs/content/EdInsertTable.xul b/editor/ui/dialogs/content/EdInsertTable.xul index e54dd8727d1..164f60631be 100644 --- a/editor/ui/dialogs/content/EdInsertTable.xul +++ b/editor/ui/dialogs/content/EdInsertTable.xul @@ -67,7 +67,7 @@