ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Making deadline desappear on updating its value to empty from interface.
This commit is contained in:
parent
6630cb8bb9
commit
b86f618c22
1 changed files with 4 additions and 0 deletions
|
|
@ -441,7 +441,11 @@ public class TaskComponent extends Div implements AfterCompose {
|
|||
if (task.getDeadline() != null) {
|
||||
String position = getMapper().toPixels(task.getDeadline()) + "px";
|
||||
response(null, new AuInvoke(this, "moveDeadline", position));
|
||||
} else {
|
||||
// Move deadline out of visible area
|
||||
response(null, new AuInvoke(this, "moveDeadline","-100px"));
|
||||
}
|
||||
|
||||
if (task.getConsolidatedline() != null) {
|
||||
String position = (getMapper().toPixels(task.getConsolidatedline()) - CONSOLIDATED_MARK_HALF_WIDTH)
|
||||
+ "px";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue