summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main/webapp/app
diff options
context:
space:
mode:
authoruj426b <uj426b@att.com>2020-05-07 10:32:26 -0400
committeruj426b <uj426b@att.com>2020-05-08 12:00:23 -0400
commit39db5ecce3151ad42bc0c5433d14b2a81887a4ef (patch)
treefef6d2cf7183c32988a59518a76d70bd967094f9 /POLICY-SDK-APP/src/main/webapp/app
parent7302e2ad3c8d52f9d16dad662913934d7bedf16a (diff)
Fix Policy import/export on gui
Issue-ID: POLICY-2545 Change-Id: I25fe8c415a0c9a9b15c97feb93c2ce3e9c975ed2 Signed-off-by: uj426b <uj426b@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app')
-rw-r--r--POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/js/controllers/policyManager.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/js/controllers/policyManager.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/js/controllers/policyManager.js
index c4ec75ce1..0cf655398 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/js/controllers/policyManager.js
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/js/controllers/policyManager.js
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP Policy Engine
* ================================================================================
- * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017, 2019-2020 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.
@@ -301,6 +301,7 @@ app.controller('PolicyManagerController', [
$scope.uploadFiles = function() {
$scope.policyUploader.upload($scope.uploadFileList, $scope.policyNavigator.currentPath).then(function() {
$scope.policyNavigator.refresh();
+ Notification.success('Policy Import Complete');
$scope.modal('uploadfile', true);
}, function(data) {
var errorMsg = data.result && data.result.error || 'Error Occured while Uploading....';