mirror of
https://github.com/unraid/webgui.git
synced 2026-02-22 18:29:47 -06:00
Fix: Enable Apply button when adding a VLAN
This commit is contained in:
@@ -468,6 +468,7 @@ function checkNetworkAccess(form) {
|
||||
}
|
||||
|
||||
function addVLAN(port) {
|
||||
$('input[value="<?=_("Apply")?>"],input[value="Apply"]').prop('disabled',false);
|
||||
var index = 1;
|
||||
while ($('#index-'+port+'-'+index).length) index++;
|
||||
var template = $($('<div/>').loadTemplate($('#network-template-'+port)).html().replace(/INDEX/g,index));
|
||||
|
||||
Reference in New Issue
Block a user