This commit is contained in:
@@ -105,7 +105,7 @@ export default {
|
||||
"FormFieldDataTypesTrueFalse"
|
||||
];
|
||||
|
||||
window.$gz.locale.fetch(ltKeysRequired).then(next());
|
||||
window.$gz.locale.fetch(ltKeysRequired).then(next);
|
||||
},
|
||||
beforeCreate() {
|
||||
var vm = this;
|
||||
|
||||
@@ -258,15 +258,8 @@ export default {
|
||||
|
||||
window.$gz.locale.fetch(ltKeysRequired).then(
|
||||
//ensure cached any form customizations for this particular form
|
||||
window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY).then(next())
|
||||
window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY).then(next)
|
||||
);
|
||||
|
||||
// //very important as this in conjunction with the menu options means
|
||||
// //navigation guards work properly by just sending people here
|
||||
// next(() => {
|
||||
// auth.logout();
|
||||
// next();
|
||||
// });
|
||||
},
|
||||
beforeCreate() {
|
||||
var vm = this;
|
||||
@@ -707,14 +700,7 @@ var JUST_DELETED = false;
|
||||
//////////////////////
|
||||
//
|
||||
//
|
||||
// function initForm(vm) {
|
||||
// return fetchLocaleText(vm).then(
|
||||
// populatePickLists(vm).then(
|
||||
// window.$gz.formcustomtemplate.get(FORM_CUSTOM_TEMPLATE_KEY)
|
||||
// )
|
||||
// );
|
||||
// }
|
||||
|
||||
//
|
||||
function initForm(vm) {
|
||||
return populatePickLists(vm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user