IDEMPIERE-940 Location fields seems updateable

This commit is contained in:
Heng Sin Low 2013-06-24 18:06:36 +08:00
parent 788d932239
commit e88f59fa02
2 changed files with 16 additions and 2 deletions

View File

@ -27,11 +27,25 @@ public class Locationbox extends EditorBox
public Locationbox()
{
super();
txt.setReadonly(true);
}
public Locationbox(String text)
{
super();
this();
setText(text);
}
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
txt.setReadonly(true);
}
@Override
public boolean isEnabled() {
return btn.isEnabled();
}
}

View File

@ -1108,7 +1108,7 @@ tr.z-group {
}
.z-textbox-readonly, .z-intbox-readonly, .z-longbox-readonly, .z-doublebox-readonly,
.z-decimalbox-readonly, .z-datebox-readonly, .z-timebox-readonly {
.z-decimalbox-readonly, .z-datebox-readonly, .z-timebox-readonly, .editor-input-disd {
background-color: #F0F0F0;
}