From 05b12150a0af66ae98fb0e1747fbcd400a653238 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Fri, 29 Aug 2025 10:22:17 +0800 Subject: [PATCH] * [bug#65024,done,1h,0h] Fix closed bug assignedTo is not disabled. --- module/bug/js/batchedit.ui.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/module/bug/js/batchedit.ui.js b/module/bug/js/batchedit.ui.js index 73ba0a7459..eec3713bf6 100644 --- a/module/bug/js/batchedit.ui.js +++ b/module/bug/js/batchedit.ui.js @@ -70,8 +70,11 @@ window.renderRowData = function($row, index, row) let $assignedTo = $row.find('.form-batch-input[data-name="assignedTo"]'); if(row.status == 'closed') { - /* If the status of the bug is closed, assigner of the bug is closed. */ - $assignedTo.replaceWith(''); + $row.find('[data-name="assignedTo"]').find('.picker-box').on('inited', function(e, info) + { + let $plan = info[0]; + $plan.render({disabled: true}); + }); } else if(tab == 'project' || tab == 'execution') {