aboutsummaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js
diff options
context:
space:
mode:
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js')
-rw-r--r--POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js
index df78f6455..678902840 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/BRMSParamDictController.js
@@ -74,7 +74,9 @@ app.controller('editBRMSParamController' , function ($scope, $modalInstance, mes
$scope.brmsParamDictionaryDatas=data.brmsParamDictionaryDatas;});
if($scope.brmsParamDictionaryDatas == "Duplicate"){
Notification.error("BRMSParan Dictionary exists with Same Name.")
- }else{
+ }else if($scope.brmsParamDictionaryDatas == "Validation"){
+ Notification.error("BRMSParan Dictionary failed rule Validation.")
+ }else {
console.log($scope.brmsParamDictionaryDatas);
$modalInstance.close({brmsParamDictionaryDatas:$scope.brmsParamDictionaryDatas});
}