summaryrefslogtreecommitdiffstats
path: root/install/ui/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/search.js')
-rw-r--r--install/ui/search.js17
1 files changed, 14 insertions, 3 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index a7074e22..99990528 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -47,15 +47,15 @@ IPA.search_facet = function(spec) {
that.facet_create_header(container);
- var span = $('<div/>', {
+ var div = $('<div/>', {
'class': 'right-aligned-facet-controls'
}).appendTo(that.controls);
- span.append(IPA.create_network_spinner());
+ div.append(IPA.create_network_spinner());
var filter_container = $('<div/>', {
'class': 'search-filter'
- }).appendTo(span);
+ }).appendTo(div);
that.filter = $('<input/>', {
type: 'text',
@@ -78,6 +78,17 @@ IPA.search_facet = function(spec) {
}
}).appendTo(filter_container);
+ that.refresh_button = IPA.action_button({
+ name: 'refresh',
+ href: 'refresh',
+ label: IPA.messages.buttons.refresh,
+ icon: 'reset-icon',
+ click: function() {
+ that.refresh();
+ return false;
+ }
+ }).appendTo(that.controls);
+
that.remove_button = IPA.action_button({
name: 'remove',
label: IPA.messages.buttons.remove,