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