File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
resources/io/jenkins/plugins/designlibrary/Dialogs Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55 <s : group >
66 <s : preview >
77 <dialog class =" jenkins-dialog" >
8- <div class =" jenkins-dialog__title" >Error </div >
9- <div class =" jenkins-dialog__contents" >This doesn't work .</div >
8+ <div class =" jenkins-dialog__title" >Example alert </div >
9+ <div class =" jenkins-dialog__contents" >I'm an example of an error alert .</div >
1010 <div class =" jenkins-buttons-row jenkins-buttons-row--equal-width jenkins-dialog__buttons" >
1111 <button data-id =" ok" type =" button"
1212 class =" jenkins-button jenkins-button--primary jenkins-!-destructive-color" >OK
Original file line number Diff line number Diff line change 11function showAlert ( ) {
2- dialog . alert ( "Error " , {
3- message : "This doesn't work ." , type : "destructive"
2+ dialog . alert ( "Example alert " , {
3+ message : "I'm an example of an error alert ." , type : "destructive"
44 } ) ;
55}
You can’t perform that action at this time.
0 commit comments