This commit is contained in:
2019-07-19 19:57:41 +00:00
parent 5b94fd25e1
commit 43b955501a
12 changed files with 28 additions and 28 deletions

View File

@@ -170,7 +170,7 @@ export default {
beforeCreate() {
// console.log("custom-fields-control::BEFORECREATE: TOP");
//check pre-requisites exist just in case
if (this.$gzdevmode()) {
if (window.$gz.errorHandler.devMode()) {
if (!window.$gz._) {
throw "custom-fields-control: $gz._ (lodash) is required and missing";
}
@@ -185,7 +185,7 @@ export default {
},
created() {
// console.log("custom-fields-control::BEFORECREATE: TOP");
if (this.$gzdevmode()) {
if (window.$gz.errorHandler.devMode()) {
//debugger;
if (!this.formKey) {
throw "custom-fields-control: formKey property is required and missing";