Commit 990003a6 by Antti Tonkyra

Response state changes

1 parent 4ea7aee1
...@@ -34,7 +34,8 @@ public class TaskModificationView extends GenericCDIView { ...@@ -34,7 +34,8 @@ public class TaskModificationView extends GenericCDIView {
} }
public void createResponse() { public void createResponse() {
if(responseStateChange == null) logbean.addActionLogMessageResponse(id, responseMessage, message.getState()); if(responseStateChange == null || responseStateChange == message.getState())
logbean.addActionLogMessageResponse(id, responseMessage, null);
else { else {
logbean.addActionLogMessageResponse(id, responseMessage, responseStateChange); logbean.addActionLogMessageResponse(id, responseMessage, responseStateChange);
if(responseStateChange != message.getState()) { if(responseStateChange != message.getState()) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!