diff --git a/src/sunstone/public/app/tabs/hosts-tab/panels/wilds.js b/src/sunstone/public/app/tabs/hosts-tab/panels/wilds.js index bcb47f9d47..396f7e356c 100644 --- a/src/sunstone/public/app/tabs/hosts-tab/panels/wilds.js +++ b/src/sunstone/public/app/tabs/hosts-tab/panels/wilds.js @@ -116,6 +116,12 @@ define(function(require) { delete that.element.TEMPLATE.WILDS; delete that.element.TEMPLATE.VM; + // Perform search in wilds VM + $("#host_wilds_search").on('input', function() { + that.dataTableWildHosts.fnFilter($(this).val()); + return false; + }) + // Enable the import button when at least a VM is selected $("#import_wilds", context).attr("disabled", "disabled").on("click.disable", function(e) { return false; }); diff --git a/src/sunstone/public/app/tabs/hosts-tab/panels/wilds/html.hbs b/src/sunstone/public/app/tabs/hosts-tab/panels/wilds/html.hbs index e6cdb68f9d..8089d2a2c7 100644 --- a/src/sunstone/public/app/tabs/hosts-tab/panels/wilds/html.hbs +++ b/src/sunstone/public/app/tabs/hosts-tab/panels/wilds/html.hbs @@ -15,9 +15,12 @@ {{! -------------------------------------------------------------------------- }}
-
+
+
+ +