Bug 1497377 - Remove extraneous closing brace in viewCertHelper() in msgReadSecurityInfo.js. r+a=jorgk
authorJosiah Bruner <jsbruner@umich.edu>
Mon, 08 Oct 2018 17:10:00 +0200
changeset 33047 65ed6e7ef6d9
parent 33046 08e9d13eafee
child 33048 872d9710ea55
push id386
push userclokep@gmail.com
push dateTue, 23 Oct 2018 00:48:12 +0000
bugs1497377
Bug 1497377 - Remove extraneous closing brace in viewCertHelper() in msgReadSecurityInfo.js. r+a=jorgk
mailnews/extensions/smime/content/msgCompSecurityInfo.js
mailnews/extensions/smime/content/msgReadSecurityInfo.js
--- a/mailnews/extensions/smime/content/msgCompSecurityInfo.js
+++ b/mailnews/extensions/smime/content/msgCompSecurityInfo.js
@@ -286,17 +286,18 @@ function asyncDetermineUsages(cert) {
 function onSelectionChange(event)
 {
   gViewButton.disabled = !(gListBox.selectedItems.length == 1 &&
                            certForRow(gListBox.selectedIndex));
 }
 
 function viewCertHelper(parent, cert) {
   Services.ww.openWindow(parent, "chrome://pippki/content/certViewer.xul",
-                         "_blank", "centerscreen,chrome,titlebar", cert);}
+                         "_blank", "centerscreen,chrome,titlebar", cert);
+}
 
 function certForRow(aRowIndex) {
   return gCerts.value[aRowIndex];
 }
 
 function viewSelectedCert()
 {
   if (!gViewButton.disabled)
--- a/mailnews/extensions/smime/content/msgReadSecurityInfo.js
+++ b/mailnews/extensions/smime/content/msgReadSecurityInfo.js
@@ -206,17 +206,17 @@ function onLoad()
     if (gEncryptionCert.issuerName) {
       document.getElementById("encCertIssuedBy").value = gEncryptionCert.issuerCommonName;
     }
   }
 }
 
 function viewCertHelper(parent, cert) {
   Services.ww.openWindow(parent, "chrome://pippki/content/certViewer.xul",
-                         "_blank", "centerscreen,chrome,titlebar", cert);}
+                         "_blank", "centerscreen,chrome,titlebar", cert);
 }
 
 function viewSignatureCert()
 {
   if (gSignerCert) {
     viewCertHelper(window, gSignerCert);
   }
 }