From 68c520683a71a6e87c0ce759292581799c4bf5d3 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Fri, 12 Apr 2013 10:21:35 +0800 Subject: [PATCH] IDEMPIERE-848 Improve time editor. Fixed time button enabled when field is readonly. --- .../WEB-INF/src/org/adempiere/webui/component/DatetimeBox.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DatetimeBox.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DatetimeBox.java index 4477165e7f..51fb3b463f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DatetimeBox.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DatetimeBox.java @@ -102,6 +102,7 @@ public class DatetimeBox extends Panel { dateBox.setReadonly(!readWrite); timeBox.setReadonly(!readWrite); dateBox.setButtonVisible(readWrite); + timeBox.setButtonVisible(readWrite); } /**