feature_23903 #3
|
@ -276,6 +276,21 @@ public class CkanContentModeratorWidgetController {
|
||||||
GWT.log("sortForField is: " + sortForField);
|
GWT.log("sortForField is: " + sortForField);
|
||||||
howeView.loadItemsWithStatus(statusSelectedEvent.getItemStatus(), sortForField);
|
howeView.loadItemsWithStatus(statusSelectedEvent.getItemStatus(), sortForField);
|
||||||
mainTabPanel.selectTab(0);
|
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) {
|
if (statusSelectedEvent.getDisplayMessage() != null) {
|
||||||
|
|
Loading…
Reference in New Issue