IDEMPIERE-940 Location fields seems updateable
This commit is contained in:
parent
788d932239
commit
e88f59fa02
|
@ -27,11 +27,25 @@ public class Locationbox extends EditorBox
|
||||||
public Locationbox()
|
public Locationbox()
|
||||||
{
|
{
|
||||||
super();
|
super();
|
||||||
|
txt.setReadonly(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Locationbox(String text)
|
public Locationbox(String text)
|
||||||
{
|
{
|
||||||
super();
|
this();
|
||||||
setText(text);
|
setText(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setEnabled(boolean enabled) {
|
||||||
|
super.setEnabled(enabled);
|
||||||
|
txt.setReadonly(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEnabled() {
|
||||||
|
return btn.isEnabled();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1108,7 +1108,7 @@ tr.z-group {
|
||||||
}
|
}
|
||||||
|
|
||||||
.z-textbox-readonly, .z-intbox-readonly, .z-longbox-readonly, .z-doublebox-readonly,
|
.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;
|
background-color: #F0F0F0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue