This commit is contained in:
2019-12-27 20:19:04 +00:00
parent a5fc23c55d
commit 4016df08bb
5 changed files with 61 additions and 74 deletions

View File

@@ -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;

View File

@@ -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);
}