/*-
* ============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.
* 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();
$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',
})}
},
error : function(data){
- alert("Error while Searching.");
+ Notification.error("Error while Searching.");
}
});
};