From 5bf6acc1cfb79aa60a08895983b88d83d257e2ef Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 30 Sep 2020 13:47:08 +0800 Subject: [PATCH] * Finish task #8086. --- module/task/js/batchcreate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/task/js/batchcreate.js b/module/task/js/batchcreate.js index 38e0151a08..f4e2085893 100755 --- a/module/task/js/batchcreate.js +++ b/module/task/js/batchcreate.js @@ -1,8 +1,8 @@ -/* Remove 'ditto' in first row. */ +/* Remove 'ditto' in first row and control task name width and tips for tasks that consume. */ $(function() { removeDitto(); - if($('#batchCreateForm table thead tr th.c-name').width() < 200) $('#batchCreateForm table thead tr th.c-name').width(200); + if($('th.c-name').width() < 200) $('th.c-name').width(200); if(taskConsumed > 0) alert(addChildTask); });