You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1135,17 +1141,17 @@ function SetUpEmailNotificationFields()
1135
1141
}
1136
1142
1137
1143
/**----------------------------------------**/
1138
-
/** Modified by Martinski W. [2025-Feb-23] **/
1144
+
/** Modified by Martinski W. [2025-Feb-25] **/
1139
1145
/**----------------------------------------**/
1140
1146
constemailNotifyHint='The Email Notifications option requires the AMTM email configuration settings to be enabled and set up.';
1141
1147
1142
1148
constautoBackupsHint='The Automatic Backups option requires the BACKUPMON script to be installed on the router.';
1143
1149
1144
1150
constaddonAutoUpdatesHint='The daily schedule for automatic updates of MerlinAU is always configured to be 15 minutes *before* the scheduled time for automatic F/W Update checks.';
1145
1151
1146
-
constFWUpdateDirZIPHint='This is the directory path where the subdirectory [MerlinAU.d] will be located to download and store the new F/W update files.';
1152
+
let FWUpdateDirZIPHint ="This is the base directory path where the subdirectory <br><b>MerlinAU.d/[RouterID]_firmware</b></br> will be located to download and store the new firmware update files.<br>Default base path:</br><b>DefaultPATH</b>";
1147
1153
1148
-
constFWUpdateDirLOGHint='This is the directory path where the subdirectory [MerlinAU.d] will be located to store the log files of the F/W update process.';
1154
+
constFWUpdateDirLOGHint='This is the base directory path where the subdirectory <br><b>MerlinAU.d/logs</b></br> will be located to store the log files of the firmware update process.';
1149
1155
1150
1156
constbetaToReleaseHint='Enabling this option allows the F/W update process to detect an installed Beta version and proceed to update to the latest production release version.';
1151
1157
@@ -2042,19 +2048,19 @@ function CheckFirmwareUpdate()
2042
2048
document.form.submit();
2043
2049
}
2044
2050
2045
-
//Function to get the first non-empty value from a list of element IDs
2046
-
functiongetFirstNonEmptyValue(ids)
2051
+
//Get first non-empty value from a list of element IDs //
2052
+
functionGetFirstNonEmptyValue(elemIDs)
2047
2053
{
2048
-
for (vari=0; i<ids.length; i++)
2054
+
for (varindx=0; indx<elemIDs.length; indx++)
2049
2055
{
2050
-
var elem =document.getElementById(ids[i]);
2056
+
var elem =document.getElementById(elemIDs[indx]);
2051
2057
if (elem)
2052
2058
{
2053
2059
var value =elem.value.trim();
2054
2060
if (value.length>0) { return value; }
2055
2061
}
2056
2062
}
2057
-
return"";
2063
+
return'';
2058
2064
}
2059
2065
2060
2066
/**----------------------------------------**/
@@ -2063,15 +2069,10 @@ function getFirstNonEmptyValue(ids)
2063
2069
// Function to format and display the Router IDs //
2064
2070
functionFormatRouterIDs()
2065
2071
{
2066
-
// Define the order of NVRAM keys to search for Model ID and Product ID
2067
-
var modelKeys = ["nvram_odmpid", "nvram_wps_modelnum", "nvram_model", "nvram_build_name"];
2068
-
var productKeys = ["nvram_productid", "nvram_build_name", "nvram_odmpid"];
2069
-
2070
-
// Retrieve the first non-empty values //
2071
-
varMODEL_ID=getFirstNonEmptyValue(modelKeys);
2072
-
varPRODUCT_ID=getFirstNonEmptyValue(productKeys);
2072
+
letMODEL_ID=GetFirstNonEmptyValue(modelKeys);
2073
+
letPRODUCT_ID=GetFirstNonEmptyValue(productKeys);
2073
2074
2074
-
// Convert MODEL_ID to uppercase for comparison //
2075
+
// Convert to uppercase for comparison //
2075
2076
varMODEL_ID_UPPER=MODEL_ID.toUpperCase();
2076
2077
2077
2078
// Determine FW_RouterModelID based on comparison //
0 commit comments