IDEMPIERE-112 The globe button should be visible and enable for readonly URL field

(transplanted from a4c0c7117a6f4d971f89ccfcf36c620c46f3c3a2)
This commit is contained in:
Heng Sin Low 2012-01-08 08:42:12 +08:00
parent a7218a300f
commit 8737983434
1 changed files with 5 additions and 0 deletions

View File

@ -36,4 +36,9 @@ public class Urlbox extends EditorBox
super();
setText(url);
}
@Override
public void setEnabled(boolean enabled) {
txt.setReadonly(!enabled);
}
}