This commit is contained in:
2020-09-03 19:11:41 +00:00
parent ff1283c90a
commit 1735b5555b

View File

@@ -703,10 +703,13 @@ Handlebars.registerHelper('loud', function (aString) {
name: "Demko"
});
let reportUrl = indow.$gz.api.reportDownloadUrl(pdf.data);
console.log("PDF: ", pdf);
let reportUrl = window.$gz.api.reportDownloadUrl(pdf.data);
console.log("Report url:", reportUrl);
if (window.open(reportUrl, "_blank") == null) {
//window open failed, maybe popup blocker
//show error to user
alert("ERROR OPENING REPORT WINDOW IN BROWSER");
}
//