mirror of https://github.com/apache/nifi.git
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. This closes #1183.
This commit is contained in:
parent
aa8ba0bd1c
commit
9d3fe3f03e
|
@ -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'
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue