mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
associate search automatically perfomr the no-args search for enrollment-adder pages
This commit is contained in:
parent
c0eb2b60c8
commit
6c2391b6b3
@ -159,10 +159,15 @@ function ipa_association_adder_dialog(spec) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
that.adder_dialog_init();
|
that.adder_dialog_init();
|
||||||
|
execute_search('');
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
that.search = function() {
|
that.search = function() {
|
||||||
|
execute_search(that.get_filter());
|
||||||
|
}
|
||||||
|
|
||||||
|
function execute_search(filter){
|
||||||
function on_success(data, text_status, xhr) {
|
function on_success(data, text_status, xhr) {
|
||||||
var results = data.result;
|
var results = data.result;
|
||||||
that.clear_available_values();
|
that.clear_available_values();
|
||||||
@ -173,7 +178,6 @@ function ipa_association_adder_dialog(spec) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var filter = that.get_filter();
|
|
||||||
ipa_cmd('find', [filter], {'all': true}, on_success, null, that.other_entity);
|
ipa_cmd('find', [filter], {'all': true}, on_success, null, that.other_entity);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user