For whatever reason event.submit() decided to not work after preventDefault()
This commit is contained in:
parent
ac8d31d6d6
commit
52c506b133
1 changed files with 2 additions and 4 deletions
|
@ -330,10 +330,8 @@ $(document).ready(function () {
|
|||
confirmButtonText: 'Delete',
|
||||
confirmButtonColor: '#d9534f',
|
||||
closeOnConfirm: false
|
||||
}, function (confirmed) {
|
||||
if (confirmed) {
|
||||
event.submit();
|
||||
}
|
||||
}, function () {
|
||||
event.target.submit();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue