From bafc9a60204645f5a6f65f73b3e76dc492739533 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 17 Oct 2022 13:54:11 +0800 Subject: [PATCH] * Fix bug #28528. --- module/task/css/edit.css | 2 +- module/task/js/edit.js | 1 + module/task/view/taskteam.html.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/task/css/edit.css b/module/task/css/edit.css index 9eee7f882d..8d0f467549 100644 --- a/module/task/css/edit.css +++ b/module/task/css/edit.css @@ -15,7 +15,7 @@ #taskTeamEditor tr td:first-child {width: 40px; position: relative;} .team-number {display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 10px; text-align: center; background: #f4f5f7;} #taskTeamEditor tr td:first-child .icon { position: absolute; top: 42px; left: 10.5px; display: block; font-size: 8px; color: #9ea3bd;;} -#taskTeamEditor tr:last-child td:first-child .icon {display: none;} +#taskTeamEditor tr:last-child td:first-child .icon, #taskTeamEditor tr.member-last td:first-child .icon {display: none;} #modalTeam .modal-content input[type="text"]::input-placeholder{color: #c4c4c4;text-align: left;} #modalTeam .modal-content input[type="text"]::-webkit-input-placeholder{color: #c4c4c4;text-align: left;} diff --git a/module/task/js/edit.js b/module/task/js/edit.js index 9e93296521..b6ec50cd49 100644 --- a/module/task/js/edit.js +++ b/module/task/js/edit.js @@ -1,6 +1,7 @@ $(function() { $('.record-estimate-toggle').modalTrigger({width:900, type:'iframe', afterHide: function(){parent.location.href=parent.location.href;}}); + if(!newRowCount) $('#taskTeamEditor tr.member').last().addClass('member-last'); }) /** diff --git a/module/task/view/taskteam.html.php b/module/task/view/taskteam.html.php index 9e62015a66..601112122d 100644 --- a/module/task/view/taskteam.html.php +++ b/module/task/view/taskteam.html.php @@ -24,7 +24,7 @@ if($task->mode == 'linear' and strpos('|closed|cancel|pause|', $task->status) != $hourDisabled = $memberDisabled; if($task->mode == 'multi' and $app->rawMethod == 'activate') $hourDisabled = false; ?> - + @@ -55,7 +55,7 @@ if($task->mode == 'multi' and $app->rawMethod == 'activate') $hourDisabled = fal - +