diff --git a/frappe/templates/includes/integrations/third_party_apps.js b/frappe/templates/includes/integrations/third_party_apps.js new file mode 100644 index 0000000000..fe75f23db9 --- /dev/null +++ b/frappe/templates/includes/integrations/third_party_apps.js @@ -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"); + }); +}); diff --git a/frappe/www/me.html b/frappe/www/me.html index 1397eb9437..593fefc012 100644 --- a/frappe/www/me.html +++ b/frappe/www/me.html @@ -18,10 +18,12 @@