1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00

For whatever reason event.submit() decided to not work after preventDefault()

This commit is contained in:
Dane Everitt 2016-01-10 16:56:23 -05:00
parent ac8d31d6d6
commit 52c506b133

View File

@ -330,10 +330,8 @@ $(document).ready(function () {
confirmButtonText: 'Delete',
confirmButtonColor: '#d9534f',
closeOnConfirm: false
}, function (confirmed) {
if (confirmed) {
event.submit();
}
}, function () {
event.target.submit();
});
});
});