This commit is contained in:
@@ -703,10 +703,13 @@ Handlebars.registerHelper('loud', function (aString) {
|
|||||||
name: "Demko"
|
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) {
|
if (window.open(reportUrl, "_blank") == null) {
|
||||||
//window open failed, maybe popup blocker
|
//window open failed, maybe popup blocker
|
||||||
//show error to user
|
//show error to user
|
||||||
|
alert("ERROR OPENING REPORT WINDOW IN BROWSER");
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user