service templates - move to blade - fixes

This commit is contained in:
Anthony F McInerney
2020-10-18 15:03:32 +01:00
parent 0789ae57db
commit 35b774c132
@@ -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 () {