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

@@ -28,7 +28,7 @@ function dealWithError(msg, vm) {
//If a form instance was provided (vue instance)
//then put the error into it
if (vm) {
if (vm.$gzdevmode()) {
if (window.$gz.errorHandler.devMode()) {
//make sure formState.appError is defined on data
if (!window.$gz._.has(vm, "formState.appError")) {
throw "DEV ERROR errorHandler::dealWithError -> formState.appError seems to be missing from form's vue data object";