$('#modal_instance_new_action').modal('show');
}
-function deleteNs(url) {
+function deleteNs(url, force) {
bootbox.confirm("Are you sure want to delete?", function (result) {
if (result) {
+ if(force)
+ url = url + '?force=true';
location.href = url
}
})
},
error: function (result) {
dialog.modal('hide');
- bootbox.alert("An error occurred while retrieving the information for the NS");
+ bootbox.alert("An error occurred while retrieving the information.");
}
});
}