From 2d9a4f3a00ef696f7f61cbaa5888d80fd3440d89 Mon Sep 17 00:00:00 2001 From: bergware Date: Fri, 24 Jan 2020 18:11:25 +0100 Subject: [PATCH] Network settings: fixed not possible to add VLAN --- plugins/dynamix/Eth0.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix/Eth0.page b/plugins/dynamix/Eth0.page index f9bb62278..a83f7f41f 100644 --- a/plugins/dynamix/Eth0.page +++ b/plugins/dynamix/Eth0.page @@ -340,8 +340,8 @@ function addVLAN(port) { while ($('#index-'+port+'-'+index).length) index++; var template = $($('
').loadTemplate($('#network-template-'+port)).html().replace(/INDEX/g,index)); var element = $('[id^="index-'+port+'-"]').last(); - $(element).after(template).find('input').first().trigger('change'); - selectProtocol($('form[name="'+$(element).parent().attr('name')+'"]'),port,index); + $(element).after(template); + $('form[name="'+$(element).parent().attr('name')+'"]').find('select').first().trigger('change'); } function removeVLAN(element) { var id = $(element).attr('id').split('-');