ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Making deadline desappear on updating its value to empty from interface.

This commit is contained in:
Javier Moran Rua 2010-06-14 00:18:52 +02:00
parent 6630cb8bb9
commit b86f618c22

View file

@ -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";