summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/static/associate.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/install/static/associate.js b/install/static/associate.js
index a6edf748f..04fc37598 100644
--- a/install/static/associate.js
+++ b/install/static/associate.js
@@ -159,10 +159,15 @@ function ipa_association_adder_dialog(spec) {
}
that.adder_dialog_init();
+ execute_search('');
+
};
that.search = function() {
+ execute_search(that.get_filter());
+ }
+ function execute_search(filter){
function on_success(data, text_status, xhr) {
var results = data.result;
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);
};