minimal coding style and grammar fixup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-03-14 07:41:18 +01:00
parent ba916e58a9
commit 694a76f617

View File

@ -110,14 +110,13 @@ Ext.apply(Ext.form.field.VTypes, {
DnsOrIp: function(v) { DnsOrIp: function(v) {
if (!Proxmox.Utils.DnsName_match.test(v) && if (!Proxmox.Utils.DnsName_match.test(v) &&
!Proxmox.Utils.IP64_match.test(v)) !Proxmox.Utils.IP64_match.test(v)) {
{
return false; return false;
} }
return true; return true;
}, },
DnsOrIpText: gettext('Not a valid DNS name or IP Address.'), DnsOrIpText: gettext('Not a valid DNS name or IP address.'),
HostList: function(v) { HostList: function(v) {
var list = v.split(/[\ \,\;]+/); var list = v.split(/[\ \,\;]+/);