This commit is contained in:
2020-03-04 22:37:25 +00:00
parent 502b5a7590
commit 28e2b61a34
5 changed files with 10 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ function dealWithError(msg, vm) {
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
msg;
// eslint-disable-next-line no-console
console.log(errMsg);
console.Error(errMsg);
console.trace();
debugger;
window.$gz.eventBus.$emit("notify-error", "Dev error see log / console");

View File

@@ -24,9 +24,8 @@ function stringifyPrimitive(v) {
function devShowUnknownError(error) {
if (window.$gz.errorHandler.devMode) {
// eslint-disable-next-line
console.log("gzapi::devShowUnknownError, error is:");
// eslint-disable-next-line
console.log(error);
console.Error("gzapi::devShowUnknownError, error is:", error);
console.trace();
debugger;

View File

@@ -880,7 +880,6 @@ function loadFormSettings(vm) {
//0=no list view, -1=unsaved list view so any number greater than zero means there sb a cached local copy of a saved list view
if (formSettings.temp && formSettings.temp.cachedListView != null) {
vm.listView = formSettings.temp.cachedListView;
console.log("loadFormSettings::using cached list view:", vm.listView);
} else {
//fetch it and cache it
return fetchListView(vm, vm.listViewId);

View File

@@ -760,11 +760,6 @@ export default {
res.data.id || vm.listViewId; //if res.data.id then a post, if null then a put and vm.listviewId has the id
window.$gz.form.setFormSettings(vm.formKey, formSettings);
console.log(
"aya-data-list-view::submit success, updated formsettings",
formSettings
);
//Logic for detecting if a post or put: if id then it was a post, if no id then it was a put
// debugger;
if (res.data.id) {