Merge pull request #716 from Pterodactyl/feature/code-cleanup
Cleanup code, add more unit tests, prepare for beta
This commit is contained in:
commit
ea71deb8a1
75 changed files with 2354 additions and 1135 deletions
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'),
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue