Bug 1497377 - Remove extraneous closing brace in viewCertHelper() in msgReadSecurityInfo.js. r=jorgk
authorJosiah Bruner <jsbruner@umich.edu>
Mon, 08 Oct 2018 17:10:00 +0200
changeset 33336 95e9292660b75686d686c96f02bd334c8d0c24a0
parent 33335 930dfab9478d6d09ba25ac32dd5831df204691d3
child 33337 22c54a00f50379df40e6351d16f8a3d9ffb6f090
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersjorgk
bugs1497377
Bug 1497377 - Remove extraneous closing brace in viewCertHelper() in msgReadSecurityInfo.js. r=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
@@ -287,17 +287,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);
   }
 }