mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
service templates - move to blade - fixes
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
data: { type: "discover-service-template", id: id },
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data['status'] == 'ok') {
|
||||
if(data['status'] == '1') {
|
||||
toastr.success(data['message']);
|
||||
} else {
|
||||
toastr.error(data['message']);
|
||||
@@ -110,7 +110,6 @@
|
||||
url: url,
|
||||
type: 'POST',
|
||||
success: function (msg) {
|
||||
document.getElementById("manage-services-table").deleteRow(index);
|
||||
toastr.success(msg);
|
||||
},
|
||||
error: function () {
|
||||
|
||||
Reference in New Issue
Block a user