IDEMPIERE-3882: high load of the browser by creating a document attachment
This commit is contained in:
parent
e278db4d73
commit
d061f0bdf0
|
@ -296,9 +296,9 @@ public class WAttachment extends Window implements EventListener<Event>
|
||||||
bDelete.addEventListener(Events.ON_CLICK, this);
|
bDelete.addEventListener(Events.ON_CLICK, this);
|
||||||
|
|
||||||
previewPanel.appendChild(preview);
|
previewPanel.appendChild(preview);
|
||||||
ZKUpdateUtil.setHeight(preview, "100%");
|
ZKUpdateUtil.setVflex(preview, "1");
|
||||||
ZKUpdateUtil.setWidth(preview, "100%");
|
ZKUpdateUtil.setHflex(preview, "1");
|
||||||
|
|
||||||
Center centerPane = new Center();
|
Center centerPane = new Center();
|
||||||
centerPane.setSclass("dialog-content");
|
centerPane.setSclass("dialog-content");
|
||||||
centerPane.setAutoscroll(true);
|
centerPane.setAutoscroll(true);
|
||||||
|
|
Loading…
Reference in New Issue