-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-71728] Add CSP compatible version of `FormApply#applyRespons…
…e` (#8351) Co-authored-by: Daniel Beck <[email protected]> Co-authored-by: Yaroslav Afenkin <[email protected]> Co-authored-by: Alexander Brandes <[email protected]> Co-authored-by: Basil Crow <[email protected]>
- Loading branch information
1 parent
d7eda6a
commit 5f7026d
Showing
3 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
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
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
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,8 @@ | ||
window.applyCompletionHandler = function (w) { | ||
let scriptTagData = document.getElementById("form-apply-data-holder").dataset; | ||
|
||
w.notificationBar.show( | ||
scriptTagData.message, | ||
w.notificationBar[scriptTagData.notificationType], | ||
); | ||
}; |