From a577f54958e53813536741635c57fe1b92e1b9cd Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 26 Oct 2021 10:45:49 +0800 Subject: [PATCH 1/3] * Finish task #43557. --- module/task/view/batchcreate.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/view/batchcreate.html.php b/module/task/view/batchcreate.html.php index d8ff99104d..4298515d20 100644 --- a/module/task/view/batchcreate.html.php +++ b/module/task/view/batchcreate.html.php @@ -51,7 +51,7 @@ } } $colspan = count($visibleFields) + 3; - $hiddenStory = (isonlybody() and $storyID) ? ' hidden' : ''; + $hiddenStory = ''; if($hiddenStory and isset($visibleFields['story'])) $colspan -= 1; ?>
From a6544b38edb7893d0220d0467ab2c0bc2f4f1a99 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 27 Oct 2021 10:05:51 +0800 Subject: [PATCH 2/3] * Finish task #43557. --- module/task/js/batchcreate.js | 9 --------- module/task/view/batchcreate.html.php | 9 +++------ 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/module/task/js/batchcreate.js b/module/task/js/batchcreate.js index e7ee7788cc..e16f20e260 100755 --- a/module/task/js/batchcreate.js +++ b/module/task/js/batchcreate.js @@ -222,15 +222,6 @@ $(document).on('mousedown', 'select', function() $(function() { - /* Adjust width for ie chosen width. */ - if(!hiddenStory) - { - var chosenWidth = $('#module1_chosen').width(); - } - else - { - var chosenWidth = 170; - } $('.chosen-container[id^=module]').width(chosenWidth); $('.chosen-container[id^=module]').css('max-width', chosenWidth); diff --git a/module/task/view/batchcreate.html.php b/module/task/view/batchcreate.html.php index 4298515d20..905c159823 100644 --- a/module/task/view/batchcreate.html.php +++ b/module/task/view/batchcreate.html.php @@ -51,8 +51,6 @@ } } $colspan = count($visibleFields) + 3; - $hiddenStory = ''; - if($hiddenStory and isset($visibleFields['story'])) $colspan -= 1; ?>
@@ -62,7 +60,7 @@ idAB;?> '>task->module?> type != 'ops'):?> - '>task->story;?> + '>task->story;?> task->name;?> typeAB;?> @@ -108,7 +106,7 @@ type != 'ops'):?> - style='overflow: visible'> + style='overflow: visible'>
@@ -176,7 +174,7 @@ id, \"%s\")'")?> - style='overflow: visible'> + style='overflow: visible'>
@@ -227,6 +225,5 @@ task->ditto);?> - From 554214895b1b5f9df6fbdb7a2cf4a8ced5a8993b Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 27 Oct 2021 10:26:23 +0800 Subject: [PATCH 3/3] * Finish task #43557 --- module/task/js/batchcreate.js | 1 - 1 file changed, 1 deletion(-) diff --git a/module/task/js/batchcreate.js b/module/task/js/batchcreate.js index e16f20e260..2b11382752 100755 --- a/module/task/js/batchcreate.js +++ b/module/task/js/batchcreate.js @@ -222,7 +222,6 @@ $(document).on('mousedown', 'select', function() $(function() { - $('.chosen-container[id^=module]').width(chosenWidth); $('.chosen-container[id^=module]').css('max-width', chosenWidth);