summaryrefslogtreecommitdiffstats
path: root/install/ui/search.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-28 15:52:26 -0500
committerAdam Young <ayoung@redhat.com>2011-01-28 17:01:19 -0500
commitfd1d0857b5b559425668f38d85a7d607d0f35767 (patch)
tree771d613acb5bada684bbf766228aa0579d07ab18 /install/ui/search.js
parent3625a1e88afd26e3694d33f3a491824ba0d1f9e3 (diff)
downloadfreeipa-fd1d0857b5b559425668f38d85a7d607d0f35767.tar.gz
freeipa-fd1d0857b5b559425668f38d85a7d607d0f35767.tar.xz
freeipa-fd1d0857b5b559425668f38d85a7d607d0f35767.zip
unmatched aciattrs
instead of reporting an error on unmatched aciattrs, append them to the table.
Diffstat (limited to 'install/ui/search.js')
-rw-r--r--install/ui/search.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index 20a6f51fc..d675e0d3a 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -102,7 +102,7 @@ IPA.search_widget = function (spec) {
button = $('input[name=remove]', search_buttons);
that.remove_button = IPA.action_button({
'label': IPA.messages.button.remove,
- 'icon': 'ui-icon-trash',
+ 'icon': 'ui-icon-trash'
});
that.remove_button.addClass('input_link_disabled');
@@ -158,14 +158,14 @@ IPA.search_widget = function (spec) {
$('input', action_panel).val(null);
}
-
+ var remove_button;
if(count === 0){
- var remove_button = $('a[title=Delete]', action_panel);
+ remove_button = $('a[title=Delete]', action_panel);
remove_button.addClass('input_link_disabled');
remove_button.unbind('click');
}else{
- var remove_button = $('a[title=Delete]', action_panel);
+ remove_button = $('a[title=Delete]', action_panel);
remove_button.click(function() { that.remove(that.container); });
remove_button.removeClass('input_link_disabled');
}