EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
checkboxesAreDisabled check
Yuri Kuznetsovee314b437422
diff --git a/client/src/views/record/list.js b/client/src/views/record/list.jsindex fd4e67709d..97155d2ace 100644--- a/client/src/views/record/list.js+++ b/client/src/views/record/list.js@@ -2772,6 +2772,10 @@ class ListRecordView extends View {* @param {boolean} [isSilent] Do not trigger the `check` event.*/checkRecord(id, $target, isSilent) {+ if (this._disabledCheckboxes) {+ return;+ }+if (!this.collection.get(id)) {return;}@@ -3748,6 +3752,16 @@ class ListRecordView extends View {}}+ /**+ * Checkboxes are disabled.+ *+ * @since 9.0.1+ * @return {boolean}+ */+ checkboxesAreDisabled() {+ return this._disabledCheckboxes || !this.checkboxes;+ }+/*** Rebuild the internal layout.*