Skip to content

Commit 23195bd

Browse files
Update MerlinAU.asp
Minor formatting changes.
1 parent 8a7a838 commit 23195bd

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

MerlinAU.asp

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<script language="JavaScript" type="text/javascript">
3030
3131
/**----------------------------**/
32-
/** Last Modified: 2025-Jan-18 **/
32+
/** Last Modified: 2025-Jan-19 **/
3333
/** Intended for 1.4.0 Release **/
3434
/**----------------------------**/
3535
@@ -206,15 +206,15 @@ var externalCheckMsg = '';
206206
/**----------------------------------------**/
207207
function GetExternalCheckResults()
208208
{
209-
$.ajax({
210-
url: '/ext/MerlinAU/CheckHelper.js',
211-
dataType: 'script',
212-
timeout: 5000,
213-
error: function(xhr){
214-
setTimeout(GetExternalCheckResults,1000);
215-
},
216-
success: function()
217-
{
209+
$.ajax({
210+
url: '/ext/MerlinAU/CheckHelper.js',
211+
dataType: 'script',
212+
timeout: 5000,
213+
error: function(xhr){
214+
setTimeout(GetExternalCheckResults,1000);
215+
},
216+
success: function()
217+
{
218218
// Skip during form submission //
219219
if (isFormSubmitting) { return true ; }
220220
@@ -237,8 +237,8 @@ function GetExternalCheckResults()
237237
return false;
238238
}
239239
}
240-
}
241-
});
240+
}
241+
});
242242
}
243243
244244
/**-------------------------------------**/
@@ -361,13 +361,13 @@ function LoadCustomSettings()
361361
shared_custom_settings = <% get_custom_settings(); %>;
362362
for (var prop in shared_custom_settings)
363363
{
364-
if (Object.prototype.hasOwnProperty.call(shared_custom_settings, prop))
364+
if (Object.prototype.hasOwnProperty.call(shared_custom_settings, prop))
365365
{
366366
// Remove any old entries that may have been left behind //
367-
if (prop.indexOf('MerlinAU') != -1 && prop.indexOf('MerlinAU_version_') == -1)
367+
if (prop.indexOf('MerlinAU') != -1 && prop.indexOf('MerlinAU_version_') == -1)
368368
{ eval('delete shared_custom_settings.' + prop); }
369-
}
370-
}
369+
}
370+
}
371371
console.log("Shared Custom Settings Loaded:", shared_custom_settings);
372372
}
373373
@@ -376,15 +376,15 @@ function LoadCustomSettings()
376376
/**-------------------------------------**/
377377
function GetScriptVersion (versionType)
378378
{
379-
var versionProp;
380-
if (versionType == 'local')
379+
var versionProp;
380+
if (versionType == 'local')
381381
{ versionProp = shared_custom_settings.MerlinAU_version_local; }
382-
else if (versionType == 'server')
382+
else if (versionType == 'server')
383383
{ versionProp = shared_custom_settings.MerlinAU_version_server; }
384384
385-
if (typeof versionProp == 'undefined' || versionProp == null)
385+
if (typeof versionProp == 'undefined' || versionProp == null)
386386
{ return 'N/A'; }
387-
else
387+
else
388388
{ return versionProp; }
389389
}
390390
@@ -910,8 +910,8 @@ function convertToStatus(value)
910910
/**-------------------------------------**/
911911
function UpdateScriptVersion()
912912
{
913-
var localVers = GetScriptVersion('local');
914-
var serverVers = GetScriptVersion('server');
913+
var localVers = GetScriptVersion('local');
914+
var serverVers = GetScriptVersion('server');
915915
916916
$('#headerTitle').text ('MerlinAU Dashboard v' + localVers);
917917
$('#footerTitle').text ('MerlinAU v' + localVers + ' by ExtremeFiretop & Martinski W.');

0 commit comments

Comments
 (0)