This commit is contained in:
@@ -34,9 +34,7 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
handleSelected(selectedItems) {
|
||||
console.log(selectedItems);
|
||||
}
|
||||
handleSelected(selectedItems) {}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -107,9 +107,7 @@ export default {
|
||||
vm.uploading = false;
|
||||
}
|
||||
},
|
||||
handleSelected(selectedItems) {
|
||||
console.log(selectedItems);
|
||||
}
|
||||
handleSelected(selectedItems) {}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -80,9 +80,7 @@ export default {
|
||||
vm.uploading = false;
|
||||
}
|
||||
},
|
||||
handleSelected(selectedItems) {
|
||||
console.log(selectedItems);
|
||||
}
|
||||
handleSelected(selectedItems) {}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -105,7 +105,6 @@ export default {
|
||||
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
|
||||
vm.formState.loading = false;
|
||||
} catch (err) {
|
||||
// console.trace(err);
|
||||
vm.formState.ready = true;
|
||||
window.$gz.errorHandler.handleFormError(err, vm);
|
||||
}
|
||||
|
||||
@@ -191,10 +191,6 @@ export default {
|
||||
});
|
||||
},
|
||||
canOpen(otype) {
|
||||
// console.log("Canopen type: ", otype);
|
||||
// console.log("Openable:", this.ayaTypes[otype].openableObject);
|
||||
// console.log("roleCanOpen", window.$gz.role.canOpen(otype));
|
||||
// console.log("Role rights to type:", window.$gz.role.getRights(otype));
|
||||
return (
|
||||
this.ayaTypes[otype].openableObject && window.$gz.role.canOpen(otype)
|
||||
);
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -169,13 +169,6 @@ export default {
|
||||
} catch (error) {
|
||||
window.$gz.errorHandler.handleFormError(error, vm);
|
||||
} finally {
|
||||
// this.$nextTick(() => {
|
||||
// console.log("About to set ready=true");
|
||||
// vm.formState.loading = true;
|
||||
// vm.formState.ready = true;
|
||||
// //now release the loading
|
||||
// vm.formState.loading = false;
|
||||
// });
|
||||
vm.formState.ready = true;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user