EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
select single category fix
Yuri Kuznetsov15d95ddac9fe
diff --git a/client/src/views/modals/select-category-tree-records.js b/client/src/views/modals/select-category-tree-records.jsindex d4c773d20b..ae7a17307c 100644--- a/client/src/views/modals/select-category-tree-records.js+++ b/client/src/views/modals/select-category-tree-records.js@@ -146,6 +146,10 @@ class SelectCategoryTreeRecordsModalView extends SelectRecordsModalView {buttonsDisabled: true,}, listView => {listView.once('select', models => {+ if (!Array.isArray(models)) {+ models = [models];+ }+this.trigger('select', models);if (this.options.onSelect) {