new delete account UI and password confirmation
This commit is contained in:
parent
81b8427438
commit
2493454587
14 changed files with 137 additions and 52 deletions
|
@ -336,6 +336,11 @@ $(document).ready(function () {
|
|||
$('.delete.modal').modal({
|
||||
closable: false,
|
||||
onApprove: function () {
|
||||
if ($this.data('type') == "form") {
|
||||
$($this.data('form')).submit();
|
||||
return;
|
||||
}
|
||||
|
||||
$.post($this.data('url'), {
|
||||
"_csrf": csrf,
|
||||
"id": $this.data("id")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue