|
@@ -0,0 +1,9 @@ |
|
|
|
|
|
frappe.ready(() => { |
|
|
|
|
|
$(".btn-delete-app").on("click", function(event) { |
|
|
|
|
|
frappe.call({ |
|
|
|
|
|
method:"frappe.www.third_party_apps.delete_client", |
|
|
|
|
|
args: {"client_id": $(this).data("client_id"), |
|
|
|
|
|
} |
|
|
|
|
|
}).done(r => location.href="/third_party_apps"); |
|
|
|
|
|
}); |
|
|
|
|
|
}); |