function confirmDelete(str, ajaxFunc) {
    if (confirm("Confirm delete " + str + "?")) {
        ajaxFunc();
    }
}
