From 7bcf255e9df073bccc3c231a93844b9c98b4c2a1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 16 Apr 2019 23:36:36 +0000 Subject: [PATCH] --- ayanova/src/App.vue | 14 ++++++++++++-- ayanova/src/views/inventory-widget-edit.vue | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue index 447d2d99..65bc393c 100644 --- a/ayanova/src/App.vue +++ b/ayanova/src/App.vue @@ -166,7 +166,10 @@ export default { //main menu, put in the standard items that always show that.appBar.mainMenuItems = [ { title: "Log off", icon: "sign-out-alt", key: "app:logout" }, - { title: "Help", key: "app:help" } + { + title: "Help", + key: "app:help:index.html" + } ]; //If other items specified add them above the standard ones if (ctx.mainMenuItems) { @@ -179,7 +182,14 @@ export default { this.$gzevent.$on("menu-click", function(key) { if (key.startsWith("app:")) { - alert("App.vue::menu click: " + key); + if (key.startsWith("app:help:")) { + var helpurl = + "https://www.ayanova.com/AyaNova7webHelp/" + + key.replace("app:help:", ""); + window.open(helpurl, "_blank"); + } else { + alert("STUB: App.vue::menu click: " + key); + } } }); }, diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 969b33f4..c7e7b79d 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -183,7 +183,7 @@ export default { { title: "DUPLICATE", icon: "clone", key: "duplicate" }, { title: "SAVE", icon: "save", key: "save" }, { title: "DELETE", icon: "trash-alt", key: "delete" }, - { title: "HELP", key: "app:help:inventory-widget-edit" } + { title: "HELP", key: "app:help:clients_entry_screen.htm" } ] }); this.$gzevent.$on("menu-click", clickHandler);