mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 09:41:55 -06:00
Disable action panel links when the selected entry is deleted.
Fix #685
This commit is contained in:
parent
c2a2433657
commit
3ded0826cf
@ -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.' +
|
||||
|
Loading…
Reference in New Issue
Block a user