From ff30f9fa2f620b9e1dba74d36933d8d89aceebff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Tue, 22 Mar 2022 10:53:26 +0800 Subject: [PATCH] * adjust for init story for batch create task. --- module/task/js/batchcreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/js/batchcreate.js b/module/task/js/batchcreate.js index 2f9fb899e1..89ff42b674 100755 --- a/module/task/js/batchcreate.js +++ b/module/task/js/batchcreate.js @@ -266,7 +266,7 @@ $(function() if($.cookie('zeroTask') == 'true') toggleZeroTaskStory(); markStoryTask(); - if(storyID != 0) setStoryRelated(1); + if(storyID != 0) setStoryRelated($('#batchCreateForm table tbody tr:first [id^=story]:first').attr('id').replace('story', '')); $(document).keydown(function(event) {