From fcdab26c8467258feccd4865ac532ef01a92a2ff Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Mon, 24 Feb 2003 10:44:19 +0000 Subject: [PATCH] Bug 78274 Convert profile manager to use r=timeless sr=alecf git-svn-id: svn://10.0.0.236/trunk@138331 18797224-902f-48f8-a5cc-f745e15eee43 --- .../resources/content/profileSelection.js | 6 ++---- .../resources/content/profileSelection.xul | 19 ++++++++----------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/mozilla/profile/resources/content/profileSelection.js b/mozilla/profile/resources/content/profileSelection.js index 2f7902797e6..6330d173bd6 100644 --- a/mozilla/profile/resources/content/profileSelection.js +++ b/mozilla/profile/resources/content/profileSelection.js @@ -261,9 +261,8 @@ function onExit() function SetUpOKCancelButtons() { - doSetOKCancel( onStart, onExit, null, null ); - var okButton = document.getElementById("ok"); - var cancelButton = document.getElementById("cancel"); + var okButton = document.documentElement.getButton("accept"); + var cancelButton = document.documentElement.getButton("cancel"); var okButtonString; var cancelButtonString; @@ -284,6 +283,5 @@ function SetUpOKCancelButtons() } okButton.setAttribute( "label", okButtonString ); - okButton.setAttribute( "class", ( okButton.getAttribute("class") + " padded" ) ); cancelButton.setAttribute( "label", cancelButtonString ); } diff --git a/mozilla/profile/resources/content/profileSelection.xul b/mozilla/profile/resources/content/profileSelection.xul index 42806dc5810..b710d5d541e 100644 --- a/mozilla/profile/resources/content/profileSelection.xul +++ b/mozilla/profile/resources/content/profileSelection.xul @@ -28,23 +28,21 @@ - - - %brandDTD; %profileDTD; ]> -