summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/search.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index 4f26c040..30b4d3dd 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -114,6 +114,13 @@ IPA.search_facet = function(spec) {
return false;
}
}).appendTo(that.controls);
+
+ var self_service = IPA.nav.name === 'self-service';
+
+ if (self_service) {
+ that.remove_button.css('display', 'none');
+ that.add_button.css('display', 'none');
+ }
};
that.show = function() {