aboutsummaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'POLICY-SDK-APP/src/main')
-rw-r--r--POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/DCAEMicroServicePolicyController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/DCAEMicroServicePolicyController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/DCAEMicroServicePolicyController.js
index 1e452e830..c3716654c 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/DCAEMicroServicePolicyController.js
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/DCAEMicroServicePolicyController.js
@@ -1493,14 +1493,14 @@ angular.module('abs').controller('dcaeMicroServiceController',
}else{
if(splitPlainAttributeKey[1]!= undefined && splitPlainAttributeKey[1] == "boolean"){
jsonPolicy[key]= false;
- for(var i=0; i<booleanTrueElements.length; i++){
+ for(var i=0; i<booleanTrueElements.length; i++){
if(booleanTrueElements[i] == key){
jsonPolicy[key]= true;
}
}
}else{
- jsonPolicy[key]= searchElement.value;
+ jsonPolicy[key]= window.btoa(searchElement.value);
}
}
} else {