Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fixed SonarIssues Alerts to Bootstrap Notification"
[policy/engine.git]
/
POLICY-SDK-APP
/
src
/
main
/
webapp
/
app
/
policyApp
/
controller
/
dictionaryGridController
/
CLPepOptionsDictGridController.js
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
076704b
..
1292139
100644
(file)
--- 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=======================================================
/*-
* ============LICENSE_START=======================================================
- *
ECOM
P Policy Engine
+ *
ONA
P 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.
* ================================================================================
* 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=========================================================
*/
* 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();
$( "#dialog" ).hide();
@@
-99,7
+99,7
@@
app.controller('pepOptionsDictGridController', function ($scope, PolicyAppServic
$scope.editPEPOptions = null;
$scope.createNewPEPOptionsWindow = function(){
$scope.editPEPOptions = null;
$scope.createNewPEPOptionsWindow = function(){
- $scope.edit
Ecom
pName = null;
+ $scope.edit
Ona
pName = null;
var modalInstance = $modal.open({
backdrop: 'static', keyboard: false,
templateUrl : 'add_PEPOptions_popup.html',
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){
})}
},
error : function(data){
-
alert
("Error while Searching.");
+
Notification.error
("Error while Searching.");
}
});
};
}
});
};