This commit is contained in:
@@ -39,6 +39,11 @@ import customFieldsControl from "./components/custom-fields-control.vue";
|
||||
// LIBS AND GLOBAL ITEMS
|
||||
// (https://medium.com/js-dojo/use-any-javascript-library-with-vue-js-3f7e2a4974a8)
|
||||
//
|
||||
todo: move all this shit to Window.$gz as subkeys on it and then modify all the caller code that used to use vm vue property version
|
||||
//then modify the inventory-widget-edit form initialization shit so that the stuff needed after form loads still happens but the before is moved to route before enter and that it's all called
|
||||
//with two separate methods: One standard one for init form before it is loaded and one for init form stuff for after it's loaded. BeforeLoadInit, AfterLoadInit or something
|
||||
window.$gzlocale = locale;
|
||||
window.$gzformcustomtemplate = gzformcustomtemplate;
|
||||
Object.defineProperty(Vue.prototype, "$gztype", { value: gztype });
|
||||
Object.defineProperty(Vue.prototype, "$gzrole", { value: roles });
|
||||
Object.defineProperty(Vue.prototype, "$gzevent", { value: gzeventbus });
|
||||
|
||||
Reference in New Issue
Block a user