This commit is contained in:
2020-09-03 19:37:52 +00:00
parent 1735b5555b
commit d9634010c6
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
export default {
version: "8.0.0-alpha.10",
version: "8.0.0-alpha.11",
copyright: "© 1999-2020, Ground Zero Tech-Works Inc."
};

View File

@@ -700,13 +700,13 @@ Handlebars.registerHelper('loud', function (aString) {
// window.open("http://localhost:7575/api/v8/report/poc", "_blank");
let pdf = await window.$gz.api.upsert("report/post-poc", {
name: "Demko"
name: "TheSnatcher"
});
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, "ayreport") == null) {
//window open failed, maybe popup blocker
//show error to user
alert("ERROR OPENING REPORT WINDOW IN BROWSER");