From 0368cb99d6108970d172d4dc7145c67e4524b4a9 Mon Sep 17 00:00:00 2001 From: rb7147 Date: Mon, 11 Dec 2017 16:25:23 -0500 Subject: Resolved the Policy GUI Javascript issues Issue-ID: POLICY-440 Change-Id: I44d5304699da19bee7ae2997565802fc7d44cb0e Signed-off-by: rb7147 --- .../controller/dictionaryController/BRMSParamDictController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController') 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}); } -- cgit 1.2.3-korg