mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
service templates - move to blade - button variable fix
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user