From 1aea594a321f5455b9abd0a8fbf64dd14a0c1855 Mon Sep 17 00:00:00 2001 From: judovana Date: Fri, 18 Oct 2024 09:59:09 +0200 Subject: [PATCH] JENKINS-73971 Extract event handlers in NestedViewsSearch/search-results (#48) * JENKINS-73971 Extract event handlers in NestedViewsSearch/search-results.jelly * Adding onClick dynamically moving adjunct after creation of elements * replaced return false by event.preventDefault(); --- .../NestedViewsSearch/search-results.jelly | 7 +++--- .../NestedViewsSearch/searchscripts.js | 25 +++++++++++++++++++ 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/hudson/plugins/nested_view/NestedViewsSearch/searchscripts.js diff --git a/src/main/resources/hudson/plugins/nested_view/NestedViewsSearch/search-results.jelly b/src/main/resources/hudson/plugins/nested_view/NestedViewsSearch/search-results.jelly index 8fcbffd..28bcc37 100644 --- a/src/main/resources/hudson/plugins/nested_view/NestedViewsSearch/search-results.jelly +++ b/src/main/resources/hudson/plugins/nested_view/NestedViewsSearch/search-results.jelly @@ -6,10 +6,9 @@

Search help

- Search History (expand) - + Search History (expand) + +