From 14bea63fc0df203e3a9da9ee9fcfa863fc572e86 Mon Sep 17 00:00:00 2001 From: Tomas Westling Date: Wed, 17 Apr 2024 13:51:34 +0200 Subject: [PATCH] Fix link for removing causes from the management page As described in JENKINS-73028, the remove link isn't currently working, this commit fixes it. --- .../jenkins/plugins/bfa/CauseManagement/index.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/resources/com/sonyericsson/jenkins/plugins/bfa/CauseManagement/index.groovy b/src/main/resources/com/sonyericsson/jenkins/plugins/bfa/CauseManagement/index.groovy index b667f214..65d4a9ed 100644 --- a/src/main/resources/com/sonyericsson/jenkins/plugins/bfa/CauseManagement/index.groovy +++ b/src/main/resources/com/sonyericsson/jenkins/plugins/bfa/CauseManagement/index.groovy @@ -158,9 +158,10 @@ l.layout(norefresh: true) { } td { if (canRemove) { - a(href: "remove?id=" + cause.getId(), title:_("Remove")) { - l.task(icon: "icon-edit-delete icon-sm", alt: _("Remove")) - } + l.task(href:"remove?id=" + cause.getId(), + title: _("Remove"), + icon: "icon-edit-delete icon-sm", + alt: _("Remove")) } } }