-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-73962] Extract event handlers in `LegacyTagAction/tagForm.je…
…lly` (#106)
- Loading branch information
1 parent
d2deb0a
commit 96760ed
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
src/main/resources/hudson/scm/cvstagging/LegacyTagAction/create-another-tag.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters