Backing out patch to bug 78274 (see bug for issues)

This commit is contained in:
neil%parkwaycc.co.uk 2003-02-25 14:29:20 +00:00
Родитель db5dd7ed0e
Коммит e938b27b20
2 изменённых файлов: 15 добавлений и 10 удалений

Просмотреть файл

@ -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 );
}

Просмотреть файл

@ -28,21 +28,23 @@
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<!DOCTYPE dialog [
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
%brandDTD;
<!ENTITY % profileDTD SYSTEM "chrome://communicator/locale/profile/profileSelection.dtd">
%profileDTD;
]>
<dialog
<window
id="profileWindow"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="non-resizable"
class="color-dialog non-resizable"
title="&windowtitle.label;"
orient="vertical"
style="width: 42em;"
ondialogaccept="return onStart();"
ondialogcancel="return onExit();"
onclose="onExit();"
onload="StartUp();">
<stringbundle id="bundle_profileManager"
@ -53,6 +55,8 @@
<script type="application/x-javascript" src="chrome://global/content/nsJSComponentManager.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/profile/profileSelection.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/profile/profileManager.js"/>
<keyset id="dialogKeys"/>
<dialogheader class="header-large" id="header" title="&profilemanager.label;" description="&windowtitle.label;"/>
@ -97,8 +101,7 @@
<separator class="thin" orient="vertical"/>
<button id="manage" label="&manage.label;" accesskey="&manage.accesskey;" oncommand="SwitchProfileManagerMode();"/>
<spacer flex="1"/>
<button dlgtype="accept" class="dialog-button padded"/>
<button dlgtype="cancel" class="dialog-button"/>
<hbox id="okCancelButtons"/>
<separator class="thin" orient="vertical"/>
</hbox>
@ -106,4 +109,4 @@
<hbox id="profileManager-status" class="box-status" value="&profilemanager.label;" progress=""/>
</dialog>
</window>