This commit is contained in:
@@ -526,7 +526,12 @@ function clickHandler(menuItem) {
|
|||||||
window.$gz.store.state.globalSettings.serverDbId
|
window.$gz.store.state.globalSettings.serverDbId
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
case "eula":
|
||||||
|
window.$gz.eventBus.$emit("menu-click", {
|
||||||
|
key: "app:help",
|
||||||
|
data: "license"
|
||||||
|
});
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
window.$gz.eventBus.$emit(
|
window.$gz.eventBus.$emit(
|
||||||
"notify-warning",
|
"notify-warning",
|
||||||
@@ -576,7 +581,10 @@ function generateMenu(vm) {
|
|||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "ViewEULA",
|
||||||
|
key: FORM_KEY + ":eula"
|
||||||
|
});
|
||||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -630,7 +638,8 @@ async function fetchTranslatedText() {
|
|||||||
"HelpReleaseKey",
|
"HelpReleaseKey",
|
||||||
"HelpRestore",
|
"HelpRestore",
|
||||||
"CopyDbId",
|
"CopyDbId",
|
||||||
"UserCountExceeded"
|
"UserCountExceeded",
|
||||||
|
"ViewEULA"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -226,6 +226,11 @@ function generateMenu(vm) {
|
|||||||
target: "_blank",
|
target: "_blank",
|
||||||
key: "about:contact"
|
key: "about:contact"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "ViewEULA",
|
||||||
|
key: "about:eula"
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||||
@@ -243,6 +248,12 @@ function clickHandler(menuItem) {
|
|||||||
switch (m.key) {
|
switch (m.key) {
|
||||||
case "contact":
|
case "contact":
|
||||||
break;
|
break;
|
||||||
|
case "eula":
|
||||||
|
window.$gz.eventBus.$emit("menu-click", {
|
||||||
|
key: "app:help",
|
||||||
|
data: "license"
|
||||||
|
});
|
||||||
|
break;
|
||||||
case "copysupportinfo":
|
case "copysupportinfo":
|
||||||
//put the support info on the clipboard:
|
//put the support info on the clipboard:
|
||||||
{
|
{
|
||||||
@@ -299,7 +310,8 @@ async function fetchTranslatedText() {
|
|||||||
"User",
|
"User",
|
||||||
"Browser",
|
"Browser",
|
||||||
"LanguageCode",
|
"LanguageCode",
|
||||||
"CurrencyCode"
|
"CurrencyCode",
|
||||||
|
"ViewEULA"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user