From 444b53c29909a6b85f0e97c2a38213eebe0b916c Mon Sep 17 00:00:00 2001 From: "mcgreer%netscape.com" Date: Tue, 20 Mar 2001 18:32:04 +0000 Subject: [PATCH] make the cert name show up in the edit window --- security/manager/pki/resources/content/editcerts.js | 4 ++-- security/manager/pki/resources/content/editcerts.xul | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/security/manager/pki/resources/content/editcerts.js b/security/manager/pki/resources/content/editcerts.js index 0c06caeb8f7a..87cfd20ed776 100644 --- a/security/manager/pki/resources/content/editcerts.js +++ b/security/manager/pki/resources/content/editcerts.js @@ -33,8 +33,8 @@ var cert; function setWindowName() { myName = self.name; - //var windowReference=document.getElementById('certDetails'); - //windowReference.setAttribute("title","Certificate Detail: \""+myName+"\""); + var certname = document.getElementById("certname"); + certname.setAttribute("value", myName); // Get the cert from the cert database certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); diff --git a/security/manager/pki/resources/content/editcerts.xul b/security/manager/pki/resources/content/editcerts.xul index e8152cd26518..78ebe603322d 100644 --- a/security/manager/pki/resources/content/editcerts.xul +++ b/security/manager/pki/resources/content/editcerts.xul @@ -40,9 +40,7 @@ &certmgr.editcert.beforename; - + &certmgr.editcert.aftername; &certmgr.editcert.edittrust;