Changing xul window id to remove effect of persistence

bug# 95441, r=javi sr=hewitt
This commit is contained in:
rangansen%netscape.com 2001-08-17 23:35:44 +00:00
Родитель ae1c8365ff
Коммит ec8ee76801
5 изменённых файлов: 8 добавлений и 8 удалений

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

@ -78,7 +78,7 @@ function setWindowName()
{
return;
}
var windowReference = document.getElementById('deleteCert');
var windowReference = document.getElementById('deleteCertificate');
var confirReference = document.getElementById('confirm');
var impactReference = document.getElementById('impact');
windowReference.setAttribute("title", title);

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

@ -25,7 +25,7 @@
<!DOCTYPE window SYSTEM "chrome://pippki/locale/certManager.dtd">
<window id="deleteCert"
<window id="deleteCertificate"
title="&certmgr.deletecert.title;"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

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

@ -26,7 +26,7 @@
<!DOCTYPE window SYSTEM "chrome://pippki/locale/certManager.dtd">
<window id="editCert"
<window id="editCaCert"
title="&certmgr.editcacert.title;"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

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

@ -41,7 +41,7 @@ function setWindowName()
cert = certdb.getCertByDBKey(dbkey, null);
var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
var windowReference = document.getElementById('editCert');
var windowReference = document.getElementById('editCaCert');
var message1 = bundle.formatStringFromName("editTrustCA",
[ cert.commonName ],
@ -70,7 +70,7 @@ function setWindowName()
objsign.setAttribute("checked", "false");
}
var xulWindow = document.getElementById("editCert");
var xulWindow = document.getElementById("editCaCert");
var wdth = window.innerWidth; // THIS IS NEEDED,
window.sizeToContent();
xulWindow.setAttribute("width",window.innerWidth + 30);
@ -106,7 +106,7 @@ function doLoadForSSLCert()
cert = certdb.getCertByDBKey(dbkey, null);
var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
var windowReference = document.getElementById('editSSLCert');
var windowReference = document.getElementById('editWebsiteCert');
var message1 = bundle.formatStringFromName("editTrustSSL",
[ cert.commonName ],
@ -145,7 +145,7 @@ function doLoadForSSLCert()
notrustssl.setAttribute("checked", "true");
}
var xulWindow = document.getElementById("editSSLCert");
var xulWindow = document.getElementById("editWebsiteCert");
var wdth = window.innerWidth; // THIS IS NEEDED,
window.sizeToContent();
xulWindow.setAttribute("width",window.innerWidth + 30);

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

@ -26,7 +26,7 @@
<!DOCTYPE window SYSTEM "chrome://pippki/locale/certManager.dtd">
<window id="editSSLCert"
<window id="editWebsiteCert"
title="&certmgr.editsslcert.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="doLoadForSSLCert();"