diff --git a/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/create-another-tag.js b/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/create-another-tag.js new file mode 100644 index 0000000..2d2154f --- /dev/null +++ b/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/create-another-tag.js @@ -0,0 +1,6 @@ +document.addEventListener("DOMContentLoaded", function () { + document.querySelector("#tagButton input").addEventListener("click", function () { + document.getElementById("tagForm").style.display = "block"; + document.getElementById("tagButton").style.display = "none"; + }); +}); diff --git a/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/tagForm.jelly b/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/tagForm.jelly index 852ba27..bdf4a94 100644 --- a/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/tagForm.jelly +++ b/src/main/resources/hudson/scm/cvstagging/LegacyTagAction/tagForm.jelly @@ -93,9 +93,9 @@ THE SOFTWARE.
- +