diff --git a/security/manager/pki/resources/content/certManager.js b/security/manager/pki/resources/content/certManager.js index 118a5fc519f4..7823a7f929a8 100644 --- a/security/manager/pki/resources/content/certManager.js +++ b/security/manager/pki/resources/content/certManager.js @@ -261,11 +261,11 @@ function editCerts() var certkey = cert.dbKey; var ca_tab = document.getElementById("ca_tab"); if (ca_tab.selected) { - window.open('chrome://pippki/content/editcacert.xul', certkey, - 'chrome,width=500,height=400,resizable=1'); + window.openDialog('chrome://pippki/content/editcacert.xul', certkey, + 'chrome,width=100,resizable=1,modal'); } else { - window.open('chrome://pippki/content/editsslcert.xul', certkey, - 'chrome,width=500,height=400,resizable=1'); + window.openDialog('chrome://pippki/content/editsslcert.xul', certkey, + 'chrome,width=100,resizable=1,modal'); } } } diff --git a/security/manager/pki/resources/content/editcacert.xul b/security/manager/pki/resources/content/editcacert.xul index 4f002035271f..155bc33357a3 100644 --- a/security/manager/pki/resources/content/editcacert.xul +++ b/security/manager/pki/resources/content/editcacert.xul @@ -42,8 +42,8 @@ - &certmgr.editcert.edittrust; - + &certmgr.editcert.edittrust; + - +