From 209abb49eea16fe699e5fdf87674e0f7aa3a549b Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 26 Jun 2013 03:12:59 +0800 Subject: [PATCH] IDEMPIERE-1106 Zk: Locator field seems editable. --- .../WEB-INF/src/org/adempiere/webui/component/EditorBox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/EditorBox.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/EditorBox.java index 01c5c9a5f3..64b9321f25 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/EditorBox.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/EditorBox.java @@ -113,7 +113,7 @@ public class EditorBox extends Div { * @return boolean */ public boolean isEnabled() { - return !txt.isReadonly(); + return btn.isEnabled(); } /**