From 692774c8b438e084e34117666383c48742fccc84 Mon Sep 17 00:00:00 2001 From: unaibrrgn <75972112+unaibrrgn@users.noreply.github.com> Date: Tue, 30 Apr 2024 07:52:28 +0200 Subject: [PATCH] #398 Bug fix added --- .../src/main/webapp/jsp/registryManager.jsp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sources/Re3gistry2/src/main/webapp/jsp/registryManager.jsp b/sources/Re3gistry2/src/main/webapp/jsp/registryManager.jsp index 19eb2ed6..e3774c2e 100644 --- a/sources/Re3gistry2/src/main/webapp/jsp/registryManager.jsp +++ b/sources/Re3gistry2/src/main/webapp/jsp/registryManager.jsp @@ -227,18 +227,18 @@ boolean showChangesRequest = false; // Check if the user is the owner of the action - if (Configuration.checkWorkflowSimplified()== false) { - - } - if (tmp.getRegUser().getSsoreference().equals(regUser.getSsoreference())) { - if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT)) { - showSubmit = true; - } - if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT) && (tmp.getChangeRequest() != null && tmp.getChangeRequest().length() > 0)) { - showChangesRequest = true; + if (Configuration.checkWorkflowSimplified()== true) { + if (tmp.getRegUser().getSsoreference().equals(regUser.getSsoreference())) { + if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT)) { + showSubmit = true; + } + if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT) && (tmp.getChangeRequest() != null && tmp.getChangeRequest().length() > 0)) { + showChangesRequest = true; + } } } + // Checking the status of the action boolean showActionPublish = false;