task_21363 #1

Closed
francesco.mangiacrapa wants to merge 53 commits from task_21363 into master
1 changed files with 4 additions and 2 deletions
Showing only changes of commit e724aff6a3 - Show all commits

View File

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