task_21363 #1
|
@ -121,11 +121,13 @@ public class DoActionCMSView extends Composite {
|
|||
break;
|
||||
case APPROVED:
|
||||
checkBoxPermDelete.setVisible(false);
|
||||
txtMsgReason.setVisible(false);
|
||||
txtMsgReason.setVisible(true);
|
||||
txtMsgReason.setPlaceholder("(Optional) Type a message...");
|
||||
break;
|
||||
case REJECTED:
|
||||
checkBoxPermDelete.setVisible(true);
|
||||
txtMsgReason.setVisible(true);
|
||||
txtMsgReason.setPlaceholder("(Optional) Rejecting reason...");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -166,7 +168,7 @@ public class DoActionCMSView extends Composite {
|
|||
*
|
||||
* @return the txt reason msg
|
||||
*/
|
||||
String getTxtReasonMsg() {
|
||||
public String getTxtReasonMsg() {
|
||||
return txtMsgReason.getValue();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue