IDEMPIERE-112 The globe button should be visible and enable for readonly URL field
(transplanted from a4c0c7117a6f4d971f89ccfcf36c620c46f3c3a2)
This commit is contained in:
parent
a7218a300f
commit
8737983434
|
@ -36,4 +36,9 @@ public class Urlbox extends EditorBox
|
||||||
super();
|
super();
|
||||||
setText(url);
|
setText(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setEnabled(boolean enabled) {
|
||||||
|
txt.setReadonly(!enabled);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue