From 2fcd623c6210caf01fa85bf3c27901003c812fda Mon Sep 17 00:00:00 2001 From: zhouxin Date: Wed, 1 Jun 2022 07:48:32 +0000 Subject: [PATCH] * Adjust code. --- module/execution/js/story.js | 2 + module/execution/view/story.html.php | 129 --------------------------- 2 files changed, 2 insertions(+), 129 deletions(-) diff --git a/module/execution/js/story.js b/module/execution/js/story.js index d7d80f5096..53f1cab73d 100644 --- a/module/execution/js/story.js +++ b/module/execution/js/story.js @@ -1,5 +1,7 @@ $(function() { + if($('#storyList thead th.c-title').width() < 150) $('#storyList thead th.c-title').width(150); + $('#storyList').on('sort.sortable', function(e, data) { var list = ''; diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index 3b1286ae7e..52375ac0d4 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -211,33 +211,6 @@ } ?> - $story):?> @@ -251,108 +224,6 @@ $this->story->printCell($value, $story, $users, '', $storyStages, $modulePairs, $storyTasks, $storyBugs, $storyCases, $useDatatable ? 'datatable' : 'table', '', $execution, $showBranch, $productID); } ?> - -