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/user.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install/ui/user.js') diff --git a/install/ui/user.js b/install/ui/user.js index 69924429..eade0bbd 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -292,6 +292,11 @@ IPA.user_status_widget = function(spec) { } }; + that.clear = function() { + that.link_span.css('display', 'none'); + that.status_span.text(''); + }; + that.show_activation_dialog = function() { var action = that.status_link.attr('href'); -- cgit