summaryrefslogtreecommitdiffstats
path: root/install/ui/user.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/user.js
parent237a021848dd3a1e4716971ae907910e1cbfbc8e (diff)
downloadfreeipa.git-9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f.tar.gz
freeipa.git-9afe4b98da13bbf1ce2fd68a660ee1d77fd84f2f.tar.xz
freeipa.git-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/user.js')
-rw-r--r--install/ui/user.js5
1 files changed, 5 insertions, 0 deletions
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');