parent
ac156da680
commit
afb1c8cccf
@ -0,0 +1,9 @@ |
||||
import $ from 'jquery' |
||||
|
||||
$('[delete-api-key]').on('click', (event) => { |
||||
event.preventDefault() |
||||
console.log(event) |
||||
if (confirm('Are you sure you want to delete API key?')) { |
||||
$(event.currentTarget.parentElement).find('form').trigger('submit') |
||||
} |
||||
}) |
Loading…
Reference in new issue