From cc50203b9c3e76b6c5d5a82b4feabf020e49eb25 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri, 24 Dec 2021 14:29:13 +0000 Subject: [PATCH] Potential fix? --- .../main/resources/jenkins/formelementpath/form-element-path.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/resources/jenkins/formelementpath/form-element-path.js b/core/src/main/resources/jenkins/formelementpath/form-element-path.js index 2232450a36bf..6c512faeea86 100644 --- a/core/src/main/resources/jenkins/formelementpath/form-element-path.js +++ b/core/src/main/resources/jenkins/formelementpath/form-element-path.js @@ -63,6 +63,7 @@ document.addEventListener("DOMContentLoaded", function(){ var element // modern buttons aren't wrapped in spans if (e.classList.contains('jenkins-button') || e.classList.contains('repeatable-delete')) { + p = findParent(e); element = e } else { p = findParent(e);