mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
ref
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user