Enabling the owner of the rejected item, to change the Status and send

a message
This commit is contained in:
Francesco Mangiacrapa 2023-01-27 10:19:01 +01:00
parent 4faef436f1
commit 19bedd4698
1 changed files with 15 additions and 0 deletions

View File

@ -276,6 +276,21 @@ public class CkanContentModeratorWidgetController {
GWT.log("sortForField is: " + sortForField);
howeView.loadItemsWithStatus(statusSelectedEvent.getItemStatus(), sortForField);
mainTabPanel.selectTab(0);
//#23903 Enabling the owner of the rejected item, to change the Status and send a message
switch (statusSelectedEvent.getItemStatus()) {
case REJECTED:
howeView.hideUpdateStatusAction(false);
howeView.hideSelectableRow(false);
break;
default:
howeView.hideUpdateStatusAction(readOnlyMode);
howeView.hideSelectableRow(readOnlyMode);
break;
}
//#23903 end
}
if (statusSelectedEvent.getDisplayMessage() != null) {