mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
reset target section target section needed to cache results for use in results moved load logic into reset and load now calls reset
This commit is contained in:
+6
-3
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user