|
Lines 29-35
Link Here
|
| 29 |
}); |
29 |
}); |
| 30 |
|
30 |
|
| 31 |
function ConfirmDeleteTemplate( id, name, a ) { |
31 |
function ConfirmDeleteTemplate( id, name, a ) { |
| 32 |
if ( confirm( _("Are you sure you want to delete the club template %s?" ).format(name) ) ) { |
32 |
if ( confirm( _("Are you sure you want to delete the club template %s? This will delete all clubs using this template and cancel patron enrollments" ).format(name) ) ) { |
| 33 |
$.ajax({ |
33 |
$.ajax({ |
| 34 |
type: "POST", |
34 |
type: "POST", |
| 35 |
url: '/cgi-bin/koha/svc/club/template/delete', |
35 |
url: '/cgi-bin/koha/svc/club/template/delete', |
|
Lines 47-53
Link Here
|
| 47 |
} |
47 |
} |
| 48 |
|
48 |
|
| 49 |
function ConfirmDeleteClub( id, name, a ) { |
49 |
function ConfirmDeleteClub( id, name, a ) { |
| 50 |
if ( confirm( _("Are you sure you want to delete the club %s?" ).format(name) ) ) { |
50 |
if ( confirm( _("Are you sure you want to delete the club %s? This will cancel all patron enrollments in this club." ).format(name) ) ) { |
| 51 |
$.ajax({ |
51 |
$.ajax({ |
| 52 |
type: "POST", |
52 |
type: "POST", |
| 53 |
url: '/cgi-bin/koha/svc/club/delete', |
53 |
url: '/cgi-bin/koha/svc/club/delete', |
| 54 |
- |
|
|