зеркало из https://github.com/mozilla/pjs.git
Changing xul window id to remove effect of persistence
bug# 95441, r=javi sr=hewitt
This commit is contained in:
Родитель
ae1c8365ff
Коммит
ec8ee76801
|
@ -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();"
|
||||
|
|
Загрузка…
Ссылка в новой задаче