summaryrefslogtreecommitdiffstats
path: root/install/ui/search.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-09 20:46:52 -0500
committerAdam Young <ayoung@redhat.com>2011-05-11 11:17:30 -0400
commit314d6be229736d76aaf538e9e05894ee42b476fb (patch)
tree52c9b3ebb8f9db2ae280e06e5e2bb394b3a08eb5 /install/ui/search.js
parent90fb4ca00a26d8509ee22721474b09d080c6ce93 (diff)
downloadfreeipa-314d6be229736d76aaf538e9e05894ee42b476fb.tar.gz
freeipa-314d6be229736d76aaf538e9e05894ee42b476fb.tar.xz
freeipa-314d6be229736d76aaf538e9e05894ee42b476fb.zip
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.
Diffstat (limited to 'install/ui/search.js')
-rw-r--r--install/ui/search.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index c63bf3cdf..0047bdd47 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) {