mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
For whatever reason event.submit() decided to not work after preventDefault()
This commit is contained in:
parent
ac8d31d6d6
commit
52c506b133
@ -330,10 +330,8 @@ $(document).ready(function () {
|
|||||||
confirmButtonText: 'Delete',
|
confirmButtonText: 'Delete',
|
||||||
confirmButtonColor: '#d9534f',
|
confirmButtonColor: '#d9534f',
|
||||||
closeOnConfirm: false
|
closeOnConfirm: false
|
||||||
}, function (confirmed) {
|
}, function () {
|
||||||
if (confirmed) {
|
event.target.submit();
|
||||||
event.submit();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user