From 9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 24 Oct 2011 14:53:29 +0200 Subject: 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 --- install/ui/service.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install/ui/service.js') diff --git a/install/ui/service.js b/install/ui/service.js index 0dcfea357..847641940 100644 --- a/install/ui/service.js +++ b/install/ui/service.js @@ -301,6 +301,11 @@ IPA.service_provisioning_status_widget = function (spec) { set_status(krblastpwdchange ? 'valid' : 'missing'); }; + that.clear = function() { + that.status_valid.css('display', 'none'); + that.status_missing.css('display', 'none'); + }; + function set_status(status) { that.status_valid.css('display', status == 'valid' ? 'inline' : 'none'); that.status_missing.css('display', status == 'missing' ? 'inline' : 'none'); -- cgit