Browse Source

Merge branch 'staging'

pull/2/head
mbauskar 7 years ago
parent
commit
c964da78b7
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      payments/templates/includes/third_party_apps.js

+ 9
- 0
payments/templates/includes/third_party_apps.js View File

@@ -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");
});
});

Loading…
Cancel
Save