This commit is contained in:
@@ -26,7 +26,7 @@ export default {
|
||||
.then(() => (this.formReady = true))
|
||||
.catch(err => {
|
||||
this.formReady = true;
|
||||
this.$gzHandleFormError(err);
|
||||
window.$gz.errorHandler.handleFormError(err);
|
||||
});
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -59,7 +59,7 @@ export default {
|
||||
beforeCreate() {
|
||||
//debugger;
|
||||
//check pre-requisites exist just in case
|
||||
if (this.$gzdevmode()) {
|
||||
if (window.$gz.errorHandler.devMode()) {
|
||||
if (!window.$gz.dayjs) {
|
||||
throw "DateTimeControl: the DayJS library is required and missing";
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ export default {
|
||||
})
|
||||
.catch(err => {
|
||||
that.formState.ready = true; //show the form anyway so we know what's what
|
||||
that.$gzHandleFormError(err);
|
||||
window.$gz.errorHandler.handleFormError(err);
|
||||
});
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -73,7 +73,7 @@ export default {
|
||||
vm.tagSearchUnderway = false;
|
||||
})
|
||||
.catch(err => {
|
||||
vm.$gzHandleFormError(err);
|
||||
window.$gz.errorHandler.handleFormError(err);
|
||||
});
|
||||
},
|
||||
value(val) {
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
},
|
||||
beforeCreate() {
|
||||
//check pre-requisites exist just in case
|
||||
if (this.$gzdevmode()) {
|
||||
if (window.$gz.errorHandler.devMode()) {
|
||||
if (!window.$gz._) {
|
||||
throw "tag-picker: $gz._ (lodash) is required and missing";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user