service templates - move to blade - button variable fix

This commit is contained in:
Anthony F McInerney
2020-10-19 00:02:07 +01:00
parent 9d37949515
commit 739a40db57
@@ -118,7 +118,7 @@
});
}
}
function remove_st(button, name, id) {
function remove_st(button, name, id, url) {
if (confirm('@lang('Are you sure you want to remove all Services created by ')' + name + '?')) {
$.ajax({
url: url,
@@ -134,7 +134,7 @@
return false;
}
function delete_st(button, name, id) {
function delete_st(button, name, id, url) {
var index = button.parentNode.parentNode.rowIndex;
if (confirm('@lang('Are you sure you want to delete AND remove all Services created by ')' + name + '?')) {
$.ajax({