Updated Management validation checks

This commit is contained in:
bergware
2021-07-15 04:20:58 +02:00
parent 5f7a07ab49
commit 5d26ceba32
+1 -1
View File
@@ -116,7 +116,7 @@ function checkPorts(form,provision) {
if (provision) {
var userPort = current;
} else {
item.val(parseInt(item.val());
item.val(parseInt(item.val()));
var userPort = (item.val()||check['default']).toString();
if (userPort < 1 || userPort > 65535) range.push(userPort+' ('+check['name']+')');
}