-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-73947] Improve CSP compatibility (#490)
- Loading branch information
1 parent
b4227cd
commit ae67548
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...nkins/branch/PropertyMigration/MonitorImpl/branch-api-property-migration-disabled-form.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,7 @@ | ||
window.addEventListener("DOMContentLoaded", function() { | ||
const form = document.querySelector(".branch-api-property-migration-monitor-disabled-form"); | ||
|
||
form.addEventListener("submit", function(event) { | ||
event.preventDefault(); | ||
}); | ||
}); |
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