]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/Utils.js
vlan edit: Fix automatic field disabling
[proxmox-widget-toolkit.git] / src / Utils.js
index 7b78eeb12a5ecdc97f7367820148328264a17433..af5f1db27279198b45324662d7339b9bea15edfb 100644 (file)
@@ -854,7 +854,7 @@ utilities: {
        me.HostPort_match = new RegExp("^(" + IPV4_REGEXP + "|" + DnsName_REGEXP + ")(?::(\\d+))?$");
        me.HostPortBrackets_match = new RegExp("^\\[(" + IPV6_REGEXP + "|" + IPV4_REGEXP + "|" + DnsName_REGEXP + ")\\](?::(\\d+))?$");
        me.IP6_dotnotation_match = new RegExp("^(" + IPV6_REGEXP + ")(?:\\.(\\d+))?$");
-       me.Vlan_match = /^vlan(\\d+)/;
-       me.VlanInterface_match = /(\\w+)\\.(\\d+)/;
+       me.Vlan_match = /^vlan(\d+)/;
+       me.VlanInterface_match = /(\w+)\.(\d+)/;
     },
 });