IDEMPIERE-511 Filename button on Initial Client Setup (maybe other processes) does not work
This commit is contained in:
parent
7fe92e5722
commit
3041e38b38
|
@ -49,6 +49,7 @@ public class WFilenameEditor extends WEditor
|
||||||
getComponent().setButtonImage("/images/Open16.png");
|
getComponent().setButtonImage("/images/Open16.png");
|
||||||
getComponent().addEventListener(Events.ON_UPLOAD, this);
|
getComponent().addEventListener(Events.ON_UPLOAD, this);
|
||||||
getComponent().getButton().setUpload("true,native");
|
getComponent().getButton().setUpload("true,native");
|
||||||
|
getComponent().getButton().setAttribute("org.zkoss.zul.image.preload", Boolean.TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -250,6 +250,7 @@ public class WAttachment extends Window implements EventListener<Event>
|
||||||
bSave.addEventListener(Events.ON_CLICK, this);
|
bSave.addEventListener(Events.ON_CLICK, this);
|
||||||
|
|
||||||
bLoad.setImage("/images/Import24.png");
|
bLoad.setImage("/images/Import24.png");
|
||||||
|
bLoad.setAttribute("org.zkoss.zul.image.preload", Boolean.TRUE);
|
||||||
bLoad.setTooltiptext(Msg.getMsg(Env.getCtx(), "Load"));
|
bLoad.setTooltiptext(Msg.getMsg(Env.getCtx(), "Load"));
|
||||||
bLoad.setUpload("true");
|
bLoad.setUpload("true");
|
||||||
bLoad.addEventListener(Events.ON_UPLOAD, this);
|
bLoad.addEventListener(Events.ON_UPLOAD, this);
|
||||||
|
|
Loading…
Reference in New Issue