summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main/webapp/app/policyApp
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-10-31 20:18:33 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-31 20:18:33 +0000
commitdeb35bccd7b0d360668f393fe5b45b735b7956b2 (patch)
tree64c6116617b327959ac9347af2e2d7bbc9c6b055 /POLICY-SDK-APP/src/main/webapp/app/policyApp
parent7727ac7ce0b25e07dcdc1a29962356c6bf9c94d9 (diff)
parent046653e9ef93acd6d480701f628cbc8dcb91e710 (diff)
Merge "Fixed TOSCA parsing bugs"
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp')
-rw-r--r--POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/MSModelsDictController.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/MSModelsDictController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/MSModelsDictController.js
index a010044c4..105225abc 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/MSModelsDictController.js
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/MSModelsDictController.js
@@ -46,6 +46,11 @@ app.controller('editMSModelController' , function ($scope, $modalInstance, mess
headers: {'Content-Type': undefined },
transformRequest: angular.identity
}).success(function(data){
+ if(data.errorMsg != undefined){
+ Notification.error(data.errorMsg);
+ valid = false;
+ return;
+ }
if(data.classListDatas == "EMPTY"){
Notification.error("No Micro Services Avaialble.")
}else{