From fdf7909934efb0795489c8e04abaa1738830303d Mon Sep 17 00:00:00 2001 From: xg353y Date: Fri, 10 May 2019 15:15:27 +0200 Subject: Fix the Abatement issue Fix the Abatement flag issue, remove the default checked setting and only set the abatement attribute value to true if it is selected. Issue-ID: CLAMP-378 Change-Id: I52b176297bc0042f6c83cfc30331ef9ca8830c98 Signed-off-by: xg353y --- .../designer/partials/portfolios/operational_policy_window.html | 6 ++++-- .../META-INF/resources/designer/scripts/OperationalPolicyCtrl.js | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main') diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/operational_policy_window.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/operational_policy_window.html index db81e4760..1a01b250e 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/operational_policy_window.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/operational_policy_window.html @@ -125,8 +125,10 @@ label {
- +
diff --git a/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js b/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js index 0cf4c2e3a..f5a93cb90 100644 --- a/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js +++ b/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js @@ -179,7 +179,6 @@ app console.log("load properties to op policy"); // Set the header $.each($('#operationalPolicyHeaderForm').find('.form-control'), function() { - $(this).val(allPolicies['operational_policy']['controlLoop'][this.id]); }); // Set the sub-policies -- cgit 1.2.3-korg