From 311660dec20401643e456f77a65dc66e3a655cfe Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 7 Feb 2011 11:38:06 -0600 Subject: Hide initial status. Previously all certificate & Kerberos key statuses (valid, missing and revoked) will appear briefly at the same time during page load. This has been fixed by setting the initial style to hidden. --- install/ui/certificate.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'install/ui/certificate.js') diff --git a/install/ui/certificate.js b/install/ui/certificate.js index 6b100ed1c..3158d0488 100755 --- a/install/ui/certificate.js +++ b/install/ui/certificate.js @@ -414,7 +414,8 @@ function certificate_status_widget(spec) { that.widget_create(container); var div = $('
', { - name: 'certificate-valid' + name: 'certificate-valid', + style: 'display: none;' }).appendTo(container); $('', { @@ -465,7 +466,8 @@ function certificate_status_widget(spec) { if (!that.is_selfsign()) { div = $('
', { - name: 'certificate-revoked' + name: 'certificate-revoked', + style: 'display: none;' }).appendTo(container); $('', { @@ -504,7 +506,8 @@ function certificate_status_widget(spec) { } div = $('
', { - name: 'certificate-missing' + name: 'certificate-missing', + style: 'display: none;' }).appendTo(container); $('', { -- cgit