diff --git a/module/repo/css/diff.css b/module/repo/css/diff.css index 42127daf7d..57db0e5265 100644 --- a/module/repo/css/diff.css +++ b/module/repo/css/diff.css @@ -9,7 +9,7 @@ table.diff {margin-bottom: 0px;} .diff .line-new, .diff .line-new {background: #CFC;} .diff .line-old, .diff .line-old {background: #FCC;} .diff .line-all, .diff .line-all {background: #FFF;} -.diff .w-num {width: 25px; border-right: 1px solid #E4E4E4; color: #999; border-left: 1px solid #E4E4E4; color: #999; font-weight: normal; line-height: 2.5;} +.diff .w-num {width: 25px; border-right: 1px solid #E4E4E4; color: #999; border-left: 1px solid #E4E4E4; color: #999; font-weight: normal;} .repoCode .diff tr .comment-btn .icon-wrapper {left: -23px;} .repoCode .diff tr.over td.line-all, .repoCode .diff tr.over td.line-all {background: #f8eec7;} From 37bb83338a640dfc92c1e9f0980c7cb0e15cb9c2 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 22 Jul 2022 15:29:42 +0800 Subject: [PATCH 07/10] * Modify merge resule update. --- module/mr/model.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/module/mr/model.php b/module/mr/model.php index e0105fe73e..204aebec00 100644 --- a/module/mr/model.php +++ b/module/mr/model.php @@ -996,15 +996,8 @@ class mrModel extends model if($MR and $MR->removeSourceBranch == '1') $data['delete_branch_after_merge'] = true; $rowMR = json_decode(commonModel::http($url, $data, array(), array(), 'json', 'POST')); - if(!isset($rowMR->massage)) - { - $rowMR = $this->apiGetSingleMR($hostID, $projectID, $MRID); + if(!isset($rowMR->massage)) $rowMR = $this->apiGetSingleMR($hostID, $projectID, $MRID); - $this->dao->update(TABLE_MR)->data(array('status' => 'merged')) - ->where('id')->eq($MRID) - ->autoCheck() - ->exec(); - } return $rowMR; } } @@ -1892,6 +1885,11 @@ class mrModel extends model { $this->action->create('task', $task->id, 'mergedmr', '', helper::createLink('mr', 'view', "mr={$MR->id}")); } + + return $this->dao->update(TABLE_MR)->data(array('status' => 'merged')) + ->where('id')->eq($MR->id) + ->autoCheck() + ->exec(); } /** From 737799378de4a19a39b5ff0527deda07a27c213d Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 22 Jul 2022 15:49:22 +0800 Subject: [PATCH 08/10] * Fix bug #24702. --- module/testcase/js/batchedit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/js/batchedit.js b/module/testcase/js/batchedit.js index 23aa5d369e..560ca72326 100644 --- a/module/testcase/js/batchedit.js +++ b/module/testcase/js/batchedit.js @@ -108,7 +108,7 @@ $(function() $('#story' + num).replaceWith(stories); $('#story' + num + "_chosen").remove(); $('#story' + num).next('.picker').remove(); - $('#story' + num).attr('name', 'story[' + num + ']').pricker(); + $('#story' + num).attr('name', 'story[' + num + ']').picker(); }); }); } From 714787d10862735947cb80be46f6531174908963 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 22 Jul 2022 15:50:37 +0800 Subject: [PATCH 09/10] * Fix bug #22507. --- module/story/view/track.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/view/track.html.php b/module/story/view/track.html.php index 7522484fd5..b4f94b1a4c 100644 --- a/module/story/view/track.html.php +++ b/module/story/view/track.html.php @@ -17,7 +17,7 @@