From f87276dd0804b5817552ce9c1e7582ec081abcb9 Mon Sep 17 00:00:00 2001 From: "ddrinan%netscape.com" Date: Tue, 28 Aug 2001 16:58:13 +0000 Subject: [PATCH] Fix IRIX bustage caused by ^M in source git-svn-id: svn://10.0.0.236/trunk@101894 18797224-902f-48f8-a5cc-f745e15eee43 --- .../resources/content/serverCrlNextupdate.js | 30 +++++++++---------- .../resources/content/serverCrlNextupdate.xul | 6 ++-- .../pki/resources/locale/en-US/pippki.dtd | 2 +- .../resources/locale/en-US/pippki.properties | 8 ++--- .../security/manager/pki/src/nsNSSDialogs.cpp | 12 ++++---- .../manager/ssl/public/nsIBadCertListener.idl | 4 +-- .../resources/locale/en-US/pipnss.properties | 10 +++---- .../manager/ssl/src/nsNSSCertificate.cpp | 22 +++++++------- 8 files changed, 47 insertions(+), 47 deletions(-) diff --git a/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.js b/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.js index 00ac92e1ade..c78d6f1d266 100644 --- a/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.js +++ b/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.js @@ -36,22 +36,22 @@ function onLoad() dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock); var isupport = pkiParams.getISupportAtIndex(1); var cert = isupport.QueryInterface(nsIX509Cert); - var connectURL = dialogParams.GetString(1); - var gBundleBrand = srGetStrBundle("chrome://global/locale/brand.properties"); - var brandName = gBundleBrand.GetStringFromName("brandShortName"); + var connectURL = dialogParams.GetString(1); + var gBundleBrand = srGetStrBundle("chrome://global/locale/brand.properties"); + var brandName = gBundleBrand.GetStringFromName("brandShortName"); - bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties"); - - var message1 = bundle.formatStringFromName("crlNextUpdateMsg1", - [ brandName, connectURL ], - 2); - var message2 = bundle.formatStringFromName("crlNextUpdateMsg2", - [ cert.issuerOrganization ], - 1); - setText("message1", message1); - setText("message2", message2); - - //Set the focus so key press events work. + bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties"); + + var message1 = bundle.formatStringFromName("crlNextUpdateMsg1", + [ brandName, connectURL ], + 2); + var message2 = bundle.formatStringFromName("crlNextUpdateMsg2", + [ cert.issuerOrganization ], + 1); + setText("message1", message1); + setText("message2", message2); + + // Set the focus document.getElementById('ok-button').focus(); } diff --git a/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.xul b/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.xul index 7777b1fa1f8..bcbcbd229ac 100644 --- a/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.xul +++ b/mozilla/security/manager/pki/resources/content/serverCrlNextupdate.xul @@ -43,11 +43,11 @@ - + - + - +