Bug 445429 - <helpSecurityOverlay.xul> uses removed |delete*CertFlag|. r+sr=Neil.
authorSerge Gautherie <sgautherie.bz@free.fr>
Sun, 27 Jul 2008 13:47:42 +0200
changeset 28 a8b6674189023bf27bc1ed2facdbad7a4d8ff87f
parent 27 0230976a71ebc7730c9973b6ff107b5a5d672494
child 29 9708f7dba8d2a325dca45f6fad46f7e5af34fe5c
push idunknown
push userunknown
push dateunknown
bugs445429
Bug 445429 - <helpSecurityOverlay.xul> uses removed |delete*CertFlag|. r+sr=Neil.
suite/common/helpSecurityOverlay.xul
--- a/suite/common/helpSecurityOverlay.xul
+++ b/suite/common/helpSecurityOverlay.xul
@@ -60,28 +60,27 @@
         case 'ca_tab':
           openHelp("ca_certs");
           break;
       }
     }
 
     function doDeleteCertificateHelpButton()
     {
-      var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
       switch (gParams.GetString(0)) {
-        case bundle.GetStringFromName("deleteUserCertFlag"):
+        case "mine_tab":
           openHelp("delete_my_certs");
           break;
-        case bundle.GetStringFromName("deleteSslCertFlag"):
+        case "websites_tab":
           openHelp("delete_web_certs");
           break;
-        case bundle.GetStringFromName("deleteCaCertFlag"):
+        case "ca_tab":
           openHelp("delete_ca_certs");
           break;
-        case bundle.GetStringFromName("deleteEmailCertFlag"):
+        case "others_tab":
           openHelp("delete_email_certs");
           break;
       }
     }
   ]]>
   </script>
 
   <dialog id="certmanager"