This commit is contained in:
2020-09-03 18:57:23 +00:00
parent 5c72efd8f1
commit ff1283c90a
2 changed files with 5 additions and 41 deletions

View File

@@ -703,7 +703,11 @@ Handlebars.registerHelper('loud', function (aString) {
name: "Demko"
});
window.$gz.api.viewPDF(pdf, "myreport");
let reportUrl = indow.$gz.api.reportDownloadUrl(pdf.data);
if (window.open(reportUrl, "_blank") == null) {
//window open failed, maybe popup blocker
//show error to user
}
//
return;