From 2cc514ef9354bc9cc5bb911aa1a229074f3824a8 Mon Sep 17 00:00:00 2001 From: omkarghaisas Date: Thu, 27 Jul 2017 11:32:40 +0530 Subject: [PATCH] Third party apps portal (#3782) * Added third party apps portal page stub * [WIP] third party apps portal page * Added portal page third party apps Added page to manage OAuth 2.0 active sessions * [Fix] Typo me.html * frappe/www/third_party_apps. * [Fix] Added column for last log in --- payments/templates/includes/third_party_apps.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 payments/templates/includes/third_party_apps.js diff --git a/payments/templates/includes/third_party_apps.js b/payments/templates/includes/third_party_apps.js new file mode 100644 index 0000000..fe75f23 --- /dev/null +++ b/payments/templates/includes/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"); + }); +});