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.
-- Endi S. Dewata
From afaa735fe055190809de1fcae17ed2d7bc64f47c Mon Sep 17 00:00:00 2001 From: Endi S. Dewata <[email protected]> Date: Mon, 7 Feb 2011 11:38:06 -0600 Subject: [PATCH] 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 ++++++--- install/ui/host.js | 6 ++++-- install/ui/service.js | 6 ++++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/install/ui/certificate.js b/install/ui/certificate.js index 6b100ed1c5beeb071f7d226900464cc6473490b4..3158d04883af8cb7eb1f9a0f02e936801f0ea358 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 = $('<div/>', { - name: 'certificate-valid' + name: 'certificate-valid', + style: 'display: none;' }).appendTo(container); $('<img/>', { @@ -465,7 +466,8 @@ function certificate_status_widget(spec) { if (!that.is_selfsign()) { div = $('<div/>', { - name: 'certificate-revoked' + name: 'certificate-revoked', + style: 'display: none;' }).appendTo(container); $('<img/>', { @@ -504,7 +506,8 @@ function certificate_status_widget(spec) { } div = $('<div/>', { - name: 'certificate-missing' + name: 'certificate-missing', + style: 'display: none;' }).appendTo(container); $('<img/>', { diff --git a/install/ui/host.js b/install/ui/host.js index cc60fb51190462ea05fe273e3a8231c1fab0ab5d..f6af82cb15397cb2b19c69a56f0d9617c07ef3a0 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -226,7 +226,8 @@ function host_provisioning_status_widget(spec) { that.widget_create(container); var div = $('<div/>', { - name: 'kerberos-key-valid' + name: 'kerberos-key-valid', + style: 'display: none;' }).appendTo(container); $('<img/>', { @@ -250,7 +251,8 @@ function host_provisioning_status_widget(spec) { }).appendTo(content_div); div = $('<div/>', { - name: 'kerberos-key-missing' + name: 'kerberos-key-missing', + style: 'display: none;' }).appendTo(container); $('<img/>', { diff --git a/install/ui/service.js b/install/ui/service.js index 53a444401d890574cd8fc321b2c0bd3e5f869bee..360386a1380ab6383e82942b746ceefa4d1e14da 100644 --- a/install/ui/service.js +++ b/install/ui/service.js @@ -223,7 +223,8 @@ function service_provisioning_status_widget(spec) { that.widget_create(container); var div = $('<div/>', { - 'class': 'kerberos-key-valid' + name: 'kerberos-key-valid', + style: 'display: none;' }).appendTo(container); $('<img/>', { @@ -247,7 +248,8 @@ function service_provisioning_status_widget(spec) { }).appendTo(content_div); div = $('<div/>', { - name: 'kerberos-key-missing' + name: 'kerberos-key-missing', + style: 'display: none;' }).appendTo(container); $('<img/>', { -- 1.6.6.1
_______________________________________________ Freeipa-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/freeipa-devel
