EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
fix
Yuri Kuznetsovf2a5e103dd23
diff --git a/client/src/views/record/panels/bottom.js b/client/src/views/record/panels/bottom.jsindex adb4d0ea7a..e227aea239 100644--- a/client/src/views/record/panels/bottom.js+++ b/client/src/views/record/panels/bottom.js@@ -377,7 +377,7 @@ class BottomPanelView extends View {// noinspection JSUnresolvedReferenceif (parentView && parentView.hasTabs) {- return parentView.currentTab !== defs.tabNumber;+ return parentView.currentTab !== this.defs.tabNumber;}return false;diff --git a/client/src/views/record/panels/side.js b/client/src/views/record/panels/side.jsindex df1d6e524e..e00c2de478 100644--- a/client/src/views/record/panels/side.js+++ b/client/src/views/record/panels/side.js@@ -36,6 +36,7 @@ import View from 'view';* @property [actionList]* @property [fieldList]* @property [tabNumber] For internal purposes.+ * @property [isForm] Is form.*//**@@ -198,7 +199,7 @@ class SidePanelView extends View {}afterRender() {- if (this.$el.children().length === 0) {+ if (this.$el.children().length === 0 && this.defs.isForm) {this.$el.parent().addClass('hidden');}}@@ -412,7 +413,7 @@ class SidePanelView extends View {// noinspection JSUnresolvedReferenceif (parentView && parentView.hasTabs) {- return parentView.currentTab !== defs.tabNumber;+ return parentView.currentTab !== this.defs.tabNumber;}return false;