summaryrefslogtreecommitdiffstats
path: root/install/ui/service.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-10-24 14:53:29 +0200
committerEndi S. Dewata <edewata@redhat.com>2011-11-02 15:37:49 +0000
commit9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f (patch)
tree76ddd647312cda21d55d8da0189e0b6321013d96 /install/ui/service.js
parent237a021848dd3a1e4716971ae907910e1cbfbc8e (diff)
downloadfreeipa-9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f.tar.gz
freeipa-9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f.tar.xz
freeipa-9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f.zip
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
Diffstat (limited to 'install/ui/service.js')
-rw-r--r--install/ui/service.js5
1 files changed, 5 insertions, 0 deletions
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');