mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-22 00:03:46 +02:00
Merge pull request #716 from Pterodactyl/feature/code-cleanup
Cleanup code, add more unit tests, prepare for beta
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -66,7 +66,7 @@ class FileManager {
|
||||
swal({
|
||||
type: 'error',
|
||||
title: 'File Error',
|
||||
text: jqXHR.responseText || 'An error occured while attempting to process this request. Please try again.',
|
||||
text: jqXHR.responseJSON.error || 'An error occured while attempting to process this request. Please try again.',
|
||||
});
|
||||
console.error(jqXHR);
|
||||
});
|
||||
|
||||
@@ -34,7 +34,7 @@ $(document).ready(function () {
|
||||
}, function () {
|
||||
$.ajax({
|
||||
method: 'DELETE',
|
||||
url: Router.route('server.schedules.delete', {
|
||||
url: Router.route('server.schedules.view', {
|
||||
server: Pterodactyl.server.uuidShort,
|
||||
schedule: self.data('schedule-id'),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user