From b3571bbf5c335e61373eb758ff10eb4735c2017d Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 3 Nov 2023 10:08:28 +0800 Subject: [PATCH] * Fix bug of bug::batchCreate. --- module/user/js/batchcreate.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/js/batchcreate.ui.js b/module/user/js/batchcreate.ui.js index 949d594f5a..f6d056a2c4 100644 --- a/module/user/js/batchcreate.ui.js +++ b/module/user/js/batchcreate.ui.js @@ -23,7 +23,7 @@ function toggleNew(event) { const $target = $(event.target); const $currentRow = $target.closest('tr'); - const $company = $currentRow.find('select[data-name="company"]'); + const $company = $currentRow.find('div[data-name="company"]').closest('.picker-box'); const $newCompany = $currentRow.find('input[data-name="newCompany"]'); $target.toggleClass('checked'); if($target.hasClass('checked'))