From 83248ea9f738653ff9eb27f77d314b22af780311 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Thu, 19 May 2022 05:52:24 +0000 Subject: [PATCH] * Fix bug #22651,#22645. --- module/bug/config.php | 2 +- module/project/js/bug.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 module/project/js/bug.js diff --git a/module/bug/config.php b/module/bug/config.php index a2a00b49c6..db59d87f6f 100644 --- a/module/bug/config.php +++ b/module/bug/config.php @@ -326,7 +326,7 @@ $config->bug->datatable->fieldList['closedDate']['required'] = 'no'; $config->bug->datatable->fieldList['lastEditedBy']['title'] = 'lastEditedBy'; $config->bug->datatable->fieldList['lastEditedBy']['fixed'] = 'no'; -$config->bug->datatable->fieldList['lastEditedBy']['width'] = '80'; +$config->bug->datatable->fieldList['lastEditedBy']['width'] = '90'; $config->bug->datatable->fieldList['lastEditedBy']['required'] = 'no'; $config->bug->datatable->fieldList['lastEditedDate']['title'] = 'lastEditedDateAB'; diff --git a/module/project/js/bug.js b/module/project/js/bug.js new file mode 100644 index 0000000000..76bf55c9d3 --- /dev/null +++ b/module/project/js/bug.js @@ -0,0 +1,4 @@ +$(function() +{ + if($('#bugList thead th.c-title').width() < 150) $('#bugList thead th.c-title').width(150); +});