This commit is contained in:
2020-07-20 17:36:59 +00:00
parent 311db14b7a
commit a6ca999130
5 changed files with 149 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ export default {
window.$gz.eventBus.$on("menu-click", clickHandler);
//NOTE: this would normally be in getDataFromAPI but this form doesn't really need that function so doing it here
//modify the menu as necessary
generateMenu(vm, false); //default is never read only and passing in this vm
generateMenu(vm);
//init disable save button so it can be enabled only on edit to show dirty form
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
} catch (err) {