mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-29 19:25:37 +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) {
|
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(/[\ \,\;]+/);
|
||||||
|
Loading…
Reference in New Issue
Block a user