EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
ref
Yuri Kuznetsov2fac2328d03d
diff --git a/client/src/views/modals/select-records.js b/client/src/views/modals/select-records.jsindex 90b7f35dfb..eb250b21fd 100644--- a/client/src/views/modals/select-records.js+++ b/client/src/views/modals/select-records.js@@ -310,21 +310,22 @@ class SelectRecordsModalView extends ModalView {this.getMetadata().get(`clientDefs.${this.scope}.recordViews.list`) ||'views/record/list';- const promise = this.createView('list', viewName, {+ /** @type {module:views/record/list~options} */+ const options = {collection: this.collection,fullSelector: this.containerSelector + ' .list-container',selectable: true,checkboxes: this.multiple,massActionsDisabled: true,- rowActionsView: false,+ rowActionsView: null,layoutName: this.layoutName,- searchManager: this.searchManager,checkAllResultDisabled: !this.massRelateEnabled,buttonsDisabled: true,skipBuildRows: true,pagination: this.getMetadata().get(['clientDefs', this.scope, 'listPagination']) || null,- }, view => {+ }+ const promise = this.createView('list', viewName, options, view => {this.listenToOnce(view, 'select', models => {this.trigger('select', models);diff --git a/client/src/views/record/list.js b/client/src/views/record/list.jsindex 6ee691e5a8..70b2336324 100644--- a/client/src/views/record/list.js+++ b/client/src/views/record/list.js@@ -74,7 +74,7 @@ class ListRecordView extends View {* @property {boolean} [pagination] To enable the pagination.* @property {boolean} [headerDisabled] Disable the header.* @property {boolean} [noDataDisabled] Disable the no-data label (when no results).- * @property {string} [rowActionsView] A row actions view.+ * @property {string|null} [rowActionsView] A row actions view.* @property {boolean} [rowActionsDisabled] Disable row actions.* @property {boolean} [showMore] The show-more button.* @property {boolean} [keepCurrentRootUrl] Keep a current root URL.