From 12f402c342dbc9f354385ad2e85cf934f22e75db Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Tue, 25 Feb 2003 14:29:20 +0000 Subject: [PATCH] Backing out patch to bug 78274 (see bug for issues) --- profile/resources/content/profileSelection.js | 6 ++++-- .../resources/content/profileSelection.xul | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/profile/resources/content/profileSelection.js b/profile/resources/content/profileSelection.js index 6330d173bd62..2f7902797e6e 100644 --- a/profile/resources/content/profileSelection.js +++ b/profile/resources/content/profileSelection.js @@ -261,8 +261,9 @@ function onExit() function SetUpOKCancelButtons() { - var okButton = document.documentElement.getButton("accept"); - var cancelButton = document.documentElement.getButton("cancel"); + doSetOKCancel( onStart, onExit, null, null ); + var okButton = document.getElementById("ok"); + var cancelButton = document.getElementById("cancel"); var okButtonString; var cancelButtonString; @@ -283,5 +284,6 @@ function SetUpOKCancelButtons() } okButton.setAttribute( "label", okButtonString ); + okButton.setAttribute( "class", ( okButton.getAttribute("class") + " padded" ) ); cancelButton.setAttribute( "label", cancelButtonString ); } diff --git a/profile/resources/content/profileSelection.xul b/profile/resources/content/profileSelection.xul index b710d5d541e3..42806dc5810d 100644 --- a/profile/resources/content/profileSelection.xul +++ b/profile/resources/content/profileSelection.xul @@ -28,21 +28,23 @@ - + + %brandDTD; %profileDTD; ]> -