This commit is contained in:
2020-11-05 15:39:36 +00:00
parent 67fc6f7f82
commit b0ebb2d344
2 changed files with 17 additions and 18 deletions

View File

@@ -95,6 +95,23 @@ export default {
},
async created() {
let vm = this;
//------------------
//Test ui feedback mechanisms here:
//this.formState.errorBoxMessage = "This is a test crlf\r\nOnly a test lf\nEot";
await window.$gz.dialog.displayLTModalNotificationMessage(
"ViewServerConfiguration",
"Dashboard",
"success",
"https://www.ayanova.com/subscriptionexpired.htm"
);
// window.$gz.eventBus.$emit(
// "notify-error",
// "This is a test crlf\r\nOnly a test lf\nEot",
// "https://www.ayanova.com/subscriptionexpired.htm"
// );
//------------------------
try {
//keeping in case need later for some localized text or something
// await initForm(vm);

View File

@@ -298,25 +298,7 @@ export default {
vm.smallLogoUrl = window.$gz.api.logoUrl("small");
vm.mediumLogoUrl = window.$gz.api.logoUrl("medium");
vm.largeLogoUrl = window.$gz.api.logoUrl("large");
//------------------
//Test ui feedback mechanisms here:
//this.formState.errorBoxMessage = "This is a test crlf\r\nOnly a test lf\nEot";
// (async function() {
// await window.$gz.dialog.displayLTModalNotificationMessage(
// "This is a test crlf\r\nOnly a test lf\nEot",
// "Testing",
// "error",
// "https://www.ayanova.com/subscriptionexpired.htm"
// );
// })();
window.$gz.eventBus.$emit(
"notify-error",
"This is a test crlf\r\nOnly a test lf\nEot",
"https://www.ayanova.com/subscriptionexpired.htm"
);
//------------------------
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "",