mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-28 13:55:59 +00:00
minimal coding style and grammar fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ba916e58a9
commit
694a76f617
@ -110,14 +110,13 @@ Ext.apply(Ext.form.field.VTypes, {
|
||||
|
||||
DnsOrIp: function(v) {
|
||||
if (!Proxmox.Utils.DnsName_match.test(v) &&
|
||||
!Proxmox.Utils.IP64_match.test(v))
|
||||
{
|
||||
!Proxmox.Utils.IP64_match.test(v)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
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) {
|
||||
var list = v.split(/[\ \,\;]+/);
|
||||
|
Loading…
Reference in New Issue
Block a user