From ae79b96f0462dabe19e598683c0553a077b71b65 Mon Sep 17 00:00:00 2001 From: zhaoke Date: Mon, 18 Sep 2023 15:34:17 +0800 Subject: [PATCH] * Fix bug #102953. --- module/job/control.php | 2 +- module/job/ui/create.html.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/job/control.php b/module/job/control.php index 5722d65e50..fd9cd73eb2 100644 --- a/module/job/control.php +++ b/module/job/control.php @@ -95,7 +95,7 @@ class job extends control $job->buildSpec = urldecode($job->pipeline) . '@' . $job->jenkinsName; $job->engine = zget($this->lang->job->engineList, $job->engine); $job->frame = zget($this->lang->job->frameList, $job->frame); - $job->productName = $products[$job->product]; + $job->productName = zget($products, $job->product, ''); } $this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->job->browse; diff --git a/module/job/ui/create.html.php b/module/job/ui/create.html.php index 4257a0385b..c511ba8fcc 100644 --- a/module/job/ui/create.html.php +++ b/module/job/ui/create.html.php @@ -214,6 +214,7 @@ formPanel ( setStyle('width', '150px'), set::id('pipelineDropmenu'), + set::popPlacement('top'), set::text($lang->job->selectPipeline), set::url($this->createLink('jenkins', 'ajaxGetJenkinsTasks')), ),