diff options
author | Adam Young <ayoung@redhat.com> | 2011-01-26 16:50:43 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-01-27 16:53:02 -0500 |
commit | b1c4fc3e6d11203d0b7fa44d4a29b0bf892fe2c7 (patch) | |
tree | abf563a73cdc7aede755bc4382c57070ebf735c5 /install | |
parent | 18ec29c42b6ee239396f0b28f8566fbb2261264c (diff) | |
download | freeipa-b1c4fc3e6d11203d0b7fa44d4a29b0bf892fe2c7.tar.gz freeipa-b1c4fc3e6d11203d0b7fa44d4a29b0bf892fe2c7.tar.xz freeipa-b1c4fc3e6d11203d0b7fa44d4a29b0bf892fe2c7.zip |
reset target section target section needed to cache results for use in results moved load logic into reset and load now calls reset
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/aci.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js index 1cc1611ca..3bad384a2 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'); |