Skip to content

EspoCRM – Open Source CRM Application

fix record panels container multiple

Yuri Kuznetsovd1bb6be35487
diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.js
index 2c1243f0d0..18eff6a4e1 100644
--- a/client/src/views/record/detail.js
+++ b/client/src/views/record/detail.js
@@ -1404,10 +1404,10 @@ class DetailRecordView extends BaseRecordView {
}
afterRender() {
- this.$middle = this.$el.find('.middle');
+ this.$middle = this.$el.find('.middle').first();
if (this.bottomView) {
- this.$bottom = this.$el.find('.bottom');
+ this.$bottom = this.$el.find('.bottom').first();
}
this.initElementReferences();