From 576f1f8dd3e97b14a59b14cbf5ec72de0208bdf8 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Fri, 4 Nov 2016 10:21:52 -0400 Subject: [PATCH] NIFI-2989: - Updating the content of the delete policy dialog to make it a little more clear that the permissions for the component will revert back to the inherit policy. --- .../src/main/webapp/js/nf/canvas/nf-policy-management.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js index 01b1ed1b7487..93287939bd17 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js @@ -667,8 +667,10 @@ nf.PolicyManagement = (function () { */ var promptToDeletePolicy = function () { nf.Dialog.showYesNoDialog({ - headerText: 'Update Policy', - dialogContent: 'Are you sure you want to delete this policy?', + headerText: 'Delete Policy', + dialogContent: 'By deleting this policy, the permissions for this component will revert to the inherited policy.', + yesText: 'Delete', + noText: 'Cancel', yesHandler: function () { deletePolicy(); } @@ -695,7 +697,7 @@ nf.PolicyManagement = (function () { }); } else { nf.Dialog.showOkDialog({ - headerText: 'Update Policy', + headerText: 'Delete Policy', dialogContent: 'No policy selected' }); }