From 314d6be229736d76aaf538e9e05894ee42b476fb Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 9 May 2011 20:46:52 -0500 Subject: Updated DNS interface. The IPA.records_facet has been converted into a subclass of IPA.search_facet. This helps remove duplicate table code and provide consistent DOM element attributes for Selenium tests. --- install/ui/search.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index c63bf3cd..0047bdd4 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -91,7 +91,6 @@ IPA.search_facet = function(spec) { }; that.table.init(); - }; that.create_header = function(container) { @@ -124,7 +123,6 @@ IPA.search_facet = function(spec) { that.remove_button = IPA.action_button({ label: IPA.messages.buttons.remove, icon: 'ui-icon-trash', - 'class': 'input_link_disabled', click: function() { if (that.remove_button.hasClass('input_link_disabled')) return false; that.remove(); @@ -264,7 +262,8 @@ IPA.search_facet = function(spec) { summary.text(data.result.summary); } - $('.search-filter input[type=text]', that.container).focus(); + that.filter.focus(); + that.select_changed(); } function on_error(xhr, text_status, error_thrown) { -- cgit