diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-07 11:38:06 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-07 14:34:22 -0500 |
commit | 311660dec20401643e456f77a65dc66e3a655cfe (patch) | |
tree | 74d9082e9fba210ead619ae1c962ea9f654aa242 /install/ui/certificate.js | |
parent | 4ee6882e9f8c947835e3b5731d783d32bf818757 (diff) | |
download | freeipa-311660dec20401643e456f77a65dc66e3a655cfe.tar.gz freeipa-311660dec20401643e456f77a65dc66e3a655cfe.tar.xz freeipa-311660dec20401643e456f77a65dc66e3a655cfe.zip |
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.
Diffstat (limited to 'install/ui/certificate.js')
-rwxr-xr-x | install/ui/certificate.js | 9 |
1 files changed, 6 insertions, 3 deletions
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 = $('<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/>', { |