This commit is contained in:
@@ -361,8 +361,7 @@ export default {
|
||||
//change subscription
|
||||
editor.onDidChangeModelContent(event => {
|
||||
const editorValue = editor.getValue();
|
||||
// console.log("editorchange active tab=", vm.activeTab);
|
||||
// console.log("editorchange, value of editor is", editorValue);
|
||||
|
||||
switch (vm.activeTab) {
|
||||
case "template":
|
||||
vm.obj.template = editorValue;
|
||||
@@ -918,7 +917,6 @@ Handlebars.registerHelper('loud', function (aString) {
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
let reportUrl = window.$gz.api.reportDownloadUrl(res.data);
|
||||
//console.log("Report url:", reportUrl);
|
||||
if (window.open(reportUrl, "Report") == null) {
|
||||
vm.formState.serverError =
|
||||
"Problem displaying report in new window. Browser must allow pop-ups to view reports; check your browser setting";
|
||||
|
||||
Reference in New Issue
Block a user