mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Page is cleared before it is visible
https://fedorahosted.org/freeipa/ticket/1459 Changes: * added clear method to widgets, section, search, details, association facets * clear and refresh method in facet are called only if key/filter was changed * added id generator for widgets
This commit is contained in:
committed by
Endi S. Dewata
parent
237a021848
commit
9afe4b98da
@@ -725,6 +725,15 @@ IPA.cert.status_widget = function(spec) {
|
||||
}
|
||||
};
|
||||
|
||||
that.clear = function() {
|
||||
that.status_valid.css('display', 'none');
|
||||
that.status_missing.css('display', 'none');
|
||||
that.status_revoked.css('display', 'none');
|
||||
that.revoke_button.css('display', 'none');
|
||||
that.restore_button.css('display', 'none');
|
||||
that.revocation_reason.text('');
|
||||
};
|
||||
|
||||
function set_status(status, revocation_reason) {
|
||||
that.status_valid.css('display', status == IPA.cert.CERTIFICATE_STATUS_VALID ? 'inline' : 'none');
|
||||
that.status_missing.css('display', status == IPA.cert.CERTIFICATE_STATUS_MISSING ? 'inline' : 'none');
|
||||
|
||||
Reference in New Issue
Block a user