]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
minimal coding style and grammar fixup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2019 06:41:18 +0000 (07:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2019 06:41:18 +0000 (07:41 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Toolkit.js

index bb9157f8ec0dd3f5b1e538517655f46ad33af1b0..ddc0e42cf04b8280925d056f4288f0bcc3acf283 100644 (file)
@@ -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(/[\ \,\;]+/);