Skip to content

Commit

Permalink
LEAF 3428 group revoke cancel handler added
Browse files Browse the repository at this point in the history
  • Loading branch information
aerinkayne committed Jan 18, 2024
1 parent 69c38e0 commit a5232c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions LEAF_Request_Portal/admin/templates/mod_workflow.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,11 @@
$('.workflowStepInfo').css('display', 'none');
dialog_confirm.setTitle('Confirmation required');
dialog_confirm.setContent('Are you sure you want to revoke these privileges?');
dialog_confirm.setCancelHandler(function() {
if(reopenStepID !== null) {
showStepInfo(reopenStepID);
}
});
dialog_confirm.setSaveHandler(function() {
$.ajax({
type: 'DELETE',
Expand Down

0 comments on commit a5232c4

Please sign in to comment.