summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/aci.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index 1cc1611c..3bad384a 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -494,6 +494,12 @@ IPA.target_section = function () {
};
that.load = function(result) {
+ that.result = result;
+ that.reset();
+ };
+
+ that.reset = function() {
+ var result = that.result;
if(result.subtree){
$('#aci_query_text').val(result.subtree);
$('#aci_by_query').click();
@@ -524,9 +530,6 @@ IPA.target_section = function () {
}
};
- that.reset = function() {
- };
-
that.save = function (record){
var record_type = $("input[name='type']:checked").attr('id');