Bug 649266 - Certificate window is broken with long text labels. r=kaie
authorflod <francesco.lodolo@mozillaitalia.org>
Thu, 18 Aug 2011 11:56:34 +0200
changeset 75487 acf10d96fa73fb8fca249669f12184f0bcd64f3b
parent 75486 8fbc35ff4d7cb1fa6df2acf0e6090e3428044e33
child 75488 9e6e62e4fbc11b9f2aac13f2b732d1f42cf67b3e
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewerskaie
bugs649266
milestone9.0a1
Bug 649266 - Certificate window is broken with long text labels. r=kaie
security/manager/pki/resources/content/viewCertDetails.js
--- a/security/manager/pki/resources/content/viewCertDetails.js
+++ b/security/manager/pki/resources/content/viewCertDetails.js
@@ -254,17 +254,17 @@ function DisplayVerificationData(cert, r
   } else if (verifystate == cert.ISSUER_UNKNOWN) {
     verifystr = bundle.GetStringFromName('certNotVerified_IssuerUnknown');
   } else if (verifystate == cert.INVALID_CA) {
     verifystr = bundle.GetStringFromName('certNotVerified_CAInvalid');
   } else { /* if (verifystate == cert.NOT_VERIFIED_UNKNOWN || == USAGE_NOT_ALLOWED) */
     verifystr = bundle.GetStringFromName('certNotVerified_Unknown');
   }
   var verified=document.getElementById('verified');
-  verified.setAttribute("value", verifystr);
+  verified.textContent = verifystr;
   if (count > 0) {
     var verifyInfoBox = document.getElementById('verify_info_box');
     for (var i=0; i<count; i++) {
       AddUsage(usageList[i],verifyInfoBox);
     }
   }
 }