X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=POLICY-SDK-APP%2Fsrc%2Fmain%2Fwebapp%2Fapp%2FpolicyApp%2Fcontroller%2FdictionaryGridController%2FCLPepOptionsDictGridController.js;h=1292139c662d18ab74a4e9d19083d5c033c757d9;hb=3948f989c9bb16fe3d5c0e46265ba4f4c7834815;hp=076704b082baa24249bd4254b488e07cef460922;hpb=4ca818fdfb9b807562166800a086b413593d6894;p=policy%2Fengine.git diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/CLPepOptionsDictGridController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/CLPepOptionsDictGridController.js index 076704b08..1292139c6 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/CLPepOptionsDictGridController.js +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/CLPepOptionsDictGridController.js @@ -1,8 +1,8 @@ /*- * ============LICENSE_START======================================================= - * ECOMP Policy Engine + * ONAP Policy Engine * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -app.controller('pepOptionsDictGridController', function ($scope, PolicyAppService, modalService, $modal){ +app.controller('pepOptionsDictGridController', function ($scope, PolicyAppService, modalService, $modal, Notification){ $( "#dialog" ).hide(); @@ -99,7 +99,7 @@ app.controller('pepOptionsDictGridController', function ($scope, PolicyAppServic $scope.editPEPOptions = null; $scope.createNewPEPOptionsWindow = function(){ - $scope.editEcompName = null; + $scope.editOnapName = null; var modalInstance = $modal.open({ backdrop: 'static', keyboard: false, templateUrl : 'add_PEPOptions_popup.html', @@ -189,7 +189,7 @@ app.controller('pepOptionsDictGridController', function ($scope, PolicyAppServic })} }, error : function(data){ - alert("Error while Searching."); + Notification.error("Error while Searching."); } }); };