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; ]> -