Skip to content

Commit c6c37e1

Browse files
committed
occurred
1 parent 84edec6 commit c6c37e1

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

public/themes/pterodactyl/js/frontend/2fa-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var TwoFactorModal = (function () {
4444
});
4545
$('#open2fa').modal('show');
4646
}).fail(function (jqXHR) {
47-
alert('An error occured while attempting to load the 2FA setup modal. Please try again.');
47+
alert('An error occurred while attempting to load the 2FA setup modal. Please try again.');
4848
console.error(jqXHR);
4949
});
5050

public/themes/pterodactyl/js/frontend/files/src/actions.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ActionsClass {
7272
Files.list();
7373
}).fail(jqXHR => {
7474
console.error(jqXHR);
75-
var error = 'An error occured while trying to process this request.';
75+
var error = 'An error occurred while trying to process this request.';
7676
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
7777
error = jqXHR.responseJSON.error;
7878
}
@@ -118,7 +118,7 @@ class ActionsClass {
118118
swal.close();
119119
}).fail(jqXHR => {
120120
console.error(jqXHR);
121-
var error = 'An error occured while trying to process this request.';
121+
var error = 'An error occurred while trying to process this request.';
122122
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
123123
error = jqXHR.responseJSON.error;
124124
}
@@ -198,7 +198,7 @@ class ActionsClass {
198198
inputField.remove();
199199
}).fail(jqXHR => {
200200
console.error(jqXHR);
201-
var error = 'An error occured while trying to process this request.';
201+
var error = 'An error occurred while trying to process this request.';
202202
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
203203
error = jqXHR.responseJSON.error;
204204
}
@@ -255,7 +255,7 @@ class ActionsClass {
255255
Files.list();
256256
}).fail(jqXHR => {
257257
console.error(jqXHR);
258-
var error = 'An error occured while trying to process this request.';
258+
var error = 'An error occurred while trying to process this request.';
259259
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
260260
error = jqXHR.responseJSON.error;
261261
}
@@ -315,7 +315,7 @@ class ActionsClass {
315315
type: 'error',
316316
title: 'Whoops!',
317317
html: true,
318-
text: 'An error occured while attempting to delete this file. Please try again.',
318+
text: 'An error occurred while attempting to delete this file. Please try again.',
319319
});
320320
});
321321
});
@@ -433,7 +433,7 @@ class ActionsClass {
433433
type: 'error',
434434
title: 'Whoops!',
435435
html: true,
436-
text: 'An error occured while attempting to delete these files. Please try again.',
436+
text: 'An error occurred while attempting to delete these files. Please try again.',
437437
});
438438
});
439439
});
@@ -476,7 +476,7 @@ class ActionsClass {
476476
Files.list(compPath);
477477
}).fail(jqXHR => {
478478
console.error(jqXHR);
479-
var error = 'An error occured while trying to process this request.';
479+
var error = 'An error occurred while trying to process this request.';
480480
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
481481
error = jqXHR.responseJSON.error;
482482
}
@@ -516,7 +516,7 @@ class ActionsClass {
516516
});
517517
}).fail(jqXHR => {
518518
console.error(jqXHR);
519-
var error = 'An error occured while trying to process this request.';
519+
var error = 'An error occurred while trying to process this request.';
520520
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
521521
error = jqXHR.responseJSON.error;
522522
}

public/themes/pterodactyl/js/frontend/files/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class FileManager {
7171
swal({
7272
type: 'error',
7373
title: 'File Error',
74-
text: jqXHR.responseJSON.errors[0].detail || 'An error occured while attempting to process this request. Please try again.',
74+
text: jqXHR.responseJSON.errors[0].detail || 'An error occurred while attempting to process this request. Please try again.',
7575
});
7676
console.error(jqXHR);
7777
});

public/themes/pterodactyl/js/frontend/tasks/management-actions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $(document).ready(function () {
5454
swal({
5555
type: 'error',
5656
title: 'Whoops!',
57-
text: 'An error occured while attempting to delete this schedule.'
57+
text: 'An error occurred while attempting to delete this schedule.'
5858
});
5959
});
6060
});
@@ -93,7 +93,7 @@ $(document).ready(function () {
9393
swal({
9494
type: 'error',
9595
title: 'Whoops!',
96-
text: 'An error occured while attempting to trigger this schedule.'
96+
text: 'An error occurred while attempting to trigger this schedule.'
9797
});
9898
});
9999
});
@@ -136,7 +136,7 @@ $(document).ready(function () {
136136
swal({
137137
type: 'error',
138138
title: 'Whoops!',
139-
text: 'An error occured while attempting to toggle this schedule.'
139+
text: 'An error occurred while attempting to toggle this schedule.'
140140
});
141141
});
142142
});

resources/themes/pterodactyl/admin/api/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
swal({
9494
type: 'error',
9595
title: 'Whoops!',
96-
text: 'An error occured while attempting to revoke this key.'
96+
text: 'An error occurred while attempting to revoke this key.'
9797
});
9898
});
9999
});

resources/themes/pterodactyl/admin/servers/view/database.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
swal({
142142
type: 'error',
143143
title: 'Whoops!',
144-
text: (typeof jqXHR.responseJSON.error !== 'undefined') ? jqXHR.responseJSON.error : 'An error occured while processing this request.'
144+
text: (typeof jqXHR.responseJSON.error !== 'undefined') ? jqXHR.responseJSON.error : 'An error occurred while processing this request.'
145145
});
146146
});
147147
});
@@ -163,7 +163,7 @@
163163
});
164164
}).fail(function(jqXHR, textStatus, errorThrown) {
165165
console.error(jqXHR);
166-
var error = 'An error occured while trying to process this request.';
166+
var error = 'An error occurred while trying to process this request.';
167167
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
168168
error = jqXHR.responseJSON.error;
169169
}

resources/themes/pterodactyl/base/api/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
swal({
114114
type: 'error',
115115
title: 'Whoops!',
116-
text: 'An error occured while attempting to revoke this key.'
116+
text: 'An error occurred while attempting to revoke this key.'
117117
});
118118
});
119119
});

resources/themes/pterodactyl/server/databases/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
block.parent().parent().find('[data-attr="set-password"]').html(data.password);
149149
}).fail(function(jqXHR) {
150150
console.error(jqXHR);
151-
var error = 'An error occured while trying to process this request.';
151+
var error = 'An error occurred while trying to process this request.';
152152
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
153153
error = jqXHR.responseJSON.error;
154154
}
@@ -188,7 +188,7 @@
188188
swal({
189189
type: 'error',
190190
title: 'Whoops!',
191-
text: (typeof jqXHR.responseJSON.error !== 'undefined') ? jqXHR.responseJSON.error : 'An error occured while processing this request.'
191+
text: (typeof jqXHR.responseJSON.error !== 'undefined') ? jqXHR.responseJSON.error : 'An error occurred while processing this request.'
192192
});
193193
});
194194
});

resources/themes/pterodactyl/server/settings/allocation.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
self.removeClass('btn-default').addClass('btn-success disabled').html('{{ trans('strings.primary') }}');
104104
}).fail(function(jqXHR) {
105105
console.error(jqXHR);
106-
var error = 'An error occured while trying to process this request.';
106+
var error = 'An error occurred while trying to process this request.';
107107
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
108108
error = jqXHR.responseJSON.error;
109109
}

resources/themes/pterodactyl/server/users/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
});
115115
}).fail(function (jqXHR) {
116116
console.error(jqXHR);
117-
var error = 'An error occured while trying to process this request.';
117+
var error = 'An error occurred while trying to process this request.';
118118
if (typeof jqXHR.responseJSON !== 'undefined' && typeof jqXHR.responseJSON.error !== 'undefined') {
119119
error = jqXHR.responseJSON.error;
120120
}

0 commit comments

Comments
 (0)