Commit f381bcd 1 parent 689ea97 commit f381bcd Copy full SHA for f381bcd
File tree 2 files changed +5
-5
lines changed
src/main/html/webapp/components/core/job
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export default Control.extend({
76
76
'#delete-btn click' : function ( el , ev ) {
77
77
var that = this ;
78
78
79
- bootbox . confirm ( "Are you sure you want to delete <b>" + that . job . attr ( 'id ' ) + "</b>?" , function ( result ) {
79
+ bootbox . confirm ( "Are you sure you want to delete <b>" + that . job . attr ( 'name ' ) + "</b>?" , function ( result ) {
80
80
if ( result ) {
81
81
82
82
var okButton = $ ( "button[data-bb-handler='confirm']" ) ;
@@ -106,7 +106,7 @@ export default Control.extend({
106
106
'#cancel-btn click' : function ( el , ev ) {
107
107
var that = this ;
108
108
109
- bootbox . confirm ( "Are you sure you want to cancel <b>" + that . job . attr ( 'id ' ) + "</b>?" , function ( result ) {
109
+ bootbox . confirm ( "Are you sure you want to cancel <b>" + that . job . attr ( 'name ' ) + "</b>?" , function ( result ) {
110
110
if ( result ) {
111
111
112
112
var okButton = $ ( "button[data-bb-handler='confirm']" ) ;
@@ -136,7 +136,7 @@ export default Control.extend({
136
136
'#restart-btn click' : function ( el , ev ) {
137
137
var that = this ;
138
138
139
- bootbox . confirm ( "Are you sure you want to restart <b>" + that . job . attr ( 'id ' ) + "</b>?" , function ( result ) {
139
+ bootbox . confirm ( "Are you sure you want to restart <b>" + that . job . attr ( 'name ' ) + "</b>?" , function ( result ) {
140
140
if ( result ) {
141
141
142
142
var okButton = $ ( "button[data-bb-handler='confirm']" ) ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default Control.extend({
48
48
var card = $ ( el ) . closest ( '.card' ) ;
49
49
var job = domData . get . call ( card [ 0 ] , 'job' ) ;
50
50
51
- bootbox . confirm ( "Are you sure you want to delete <b>" + job . attr ( 'id ' ) + "</b>?" , function ( result ) {
51
+ bootbox . confirm ( "Are you sure you want to delete <b>" + job . attr ( 'name ' ) + "</b>?" , function ( result ) {
52
52
if ( result ) {
53
53
54
54
var okButton = $ ( "button[data-bb-handler='confirm']" ) ;
@@ -78,7 +78,7 @@ export default Control.extend({
78
78
var card = $ ( el ) . closest ( '.card' ) ;
79
79
var job = domData . get . call ( card [ 0 ] , 'job' ) ;
80
80
81
- bootbox . confirm ( "Are you sure you want to cancel <b>" + job . attr ( 'id ' ) + "</b>?" , function ( result ) {
81
+ bootbox . confirm ( "Are you sure you want to cancel <b>" + job . attr ( 'name ' ) + "</b>?" , function ( result ) {
82
82
if ( result ) {
83
83
84
84
var okButton = $ ( "button[data-bb-handler='confirm']" ) ;
You can’t perform that action at this time.
0 commit comments