summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-12-02 12:35:37 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-12-02 13:09:13 -0500
commit6c2391b6b3f993c095564f6b76d99cb72ecc07b0 (patch)
treed07fa71d69639ab4e9c1bfcdc291e655eae47d3f /install
parentc0eb2b60c85dd686c96693e1a512986ba5b4306e (diff)
downloadfreeipa-6c2391b6b3f993c095564f6b76d99cb72ecc07b0.tar.gz
freeipa-6c2391b6b3f993c095564f6b76d99cb72ecc07b0.tar.xz
freeipa-6c2391b6b3f993c095564f6b76d99cb72ecc07b0.zip
associate search automatically perfomr the no-args search for enrollment-adder pages
Diffstat (limited to 'install')
-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);
};