IDEMPIERE-5791 - Fix Error when changing print format to CSV (#1925)
* IDEMPIERE-5791 - Fix Error when changing print format to CSV * IDEMPIERE-5791 - Fix Error when changing print format to CSV * IDEMPIERE-5791 - Fix Error when changing print format to CSV
This commit is contained in:
parent
beffc74bc0
commit
47e5f01206
|
@ -901,6 +901,8 @@ public class ZkReportViewer extends Window implements EventListener<Event>, IRep
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onPreviewReport() {
|
private void onPreviewReport() {
|
||||||
|
if(media == null)
|
||||||
|
return;
|
||||||
try {
|
try {
|
||||||
mediaVersion++;
|
mediaVersion++;
|
||||||
String url = Utils.getDynamicMediaURI(this, mediaVersion, media.getName(), media.getFormat());
|
String url = Utils.getDynamicMediaURI(this, mediaVersion, media.getName(), media.getFormat());
|
||||||
|
|
Loading…
Reference in New Issue