houdini/client/js/nonprofits/recurring_donations/index/delete.js

11 lines
256 B
JavaScript
Raw Normal View History

appl.def('ajax_details', {
del: function(id, node) {
appl.ajax.del('recurring_donation_details', id, node).then(function(resp) {
appl.ajax.index('recurring_donations')
appl.notify("Successfully deactivated")
appl.close_side_panel()
})
}
})