diff options
author | Pavel Zuna <pzuna@redhat.com> | 2010-12-30 16:41:50 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-01-03 14:33:59 -0500 |
commit | 3ded0826cf57858da8e6e92d9c31896ada6b79cd (patch) | |
tree | 43c84dc5a702674c1c4440089aac89fae080fe2a /install | |
parent | c2a243365764df94f4be666eb1e39e8e82f13be0 (diff) | |
download | freeipa-3ded0826cf57858da8e6e92d9c31896ada6b79cd.tar.gz freeipa-3ded0826cf57858da8e6e92d9c31896ada6b79cd.tar.xz freeipa-3ded0826cf57858da8e6e92d9c31896ada6b79cd.zip |
Disable action panel links when the selected entry is deleted.
Fix #685
Diffstat (limited to 'install')
-rw-r--r-- | install/static/search.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/install/static/search.js b/install/static/search.js index 061824cc7..a111e0cad 100644 --- a/install/static/search.js +++ b/install/static/search.js @@ -206,6 +206,11 @@ function ipa_search_widget(spec) { function on_success(data, text_status, xhr) { + var action_panel = that.facet.get_action_panel(); + $('li.entity-facet', action_panel). + addClass('entity-facet-disabled'); + $('input', action_panel).val(null); + that.tbody.empty(); var result = data.result.result; @@ -215,7 +220,6 @@ function ipa_search_widget(spec) { } var summary = $('span[name=summary]', that.tfoot); - if (data.result.truncated) { summary.text( 'Query returned results than configured size limit will show.' + |