From 6db1d10b716b4d8524792384dbdc321d4d97bbf4 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 14 Dec 2009 05:37:18 +0000 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=2900390&group_id=176962&atid=955896 [ asi editor error] - the text box should be readonly as in swing --- .../src/org/adempiere/webui/editor/WPAttributeEditor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WPAttributeEditor.java b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WPAttributeEditor.java index 3a55c4b251..65780cf751 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WPAttributeEditor.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WPAttributeEditor.java @@ -80,6 +80,8 @@ public class WPAttributeEditor extends WEditor implements ContextMenuListener { WFieldRecordInfo.addMenu(popupMenu); } + + getComponent().getTextbox().setReadonly(true); } @Override