mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 13:09:58 -06:00
Convert to integers
This commit is contained in:
@@ -145,6 +145,7 @@ function checkPorts(form,provision) {
|
||||
var name = check[i]['name'];
|
||||
var item = $(form).find('input[name="'+key+'"]');
|
||||
if (!item.val()) item.val(portdefault);
|
||||
item.val(parseInt(item.val()));
|
||||
if ($(item).is(':disabled')) continue;
|
||||
if (provision)
|
||||
var userPort = '<?=$var['PORTSSL']?>';
|
||||
|
||||
Reference in New Issue
Block a user