diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-10-31 20:18:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-31 20:18:33 +0000 |
commit | deb35bccd7b0d360668f393fe5b45b735b7956b2 (patch) | |
tree | 64c6116617b327959ac9347af2e2d7bbc9c6b055 /POLICY-SDK-APP/src/main/webapp/app/policyApp/controller | |
parent | 7727ac7ce0b25e07dcdc1a29962356c6bf9c94d9 (diff) | |
parent | 046653e9ef93acd6d480701f628cbc8dcb91e710 (diff) |
Merge "Fixed TOSCA parsing bugs"
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller')
-rw-r--r-- | POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/MSModelsDictController.js | 5 |
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{ |