EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
on change from view option
Yurii120e8b062e57
diff --git a/client/src/model.js b/client/src/model.jsindex c252d0844c..dfb74b454f 100644--- a/client/src/model.js+++ b/client/src/model.js@@ -1090,6 +1090,7 @@ class Model {* callback: function({* ui: boolean|null,* action: string|'ui'|'save'|'fetch'|'cancel-edit'|null,+ * fromView: import('views/fields/base').default,* }),* }} params* @return {{stop: function()}}diff --git a/client/src/util/event.js b/client/src/util/event.jsindex a6306dde42..d26eca2041 100644--- a/client/src/util/event.js+++ b/client/src/util/event.js@@ -38,6 +38,7 @@* callback: function({* ui: boolean|null,* action: string|'ui'|'save'|'fetch'|'cancel-edit'|null,+ * fromView: import('views/fields/base').default,* }),* }} params* @return {{stop: function()}}@@ -63,6 +64,7 @@ export function onModelChange(params) {callback({ui: o.ui ?? null,action: o.action ?? null,+ fromView: o.fromView ?? null,});}