]> wagnertech.de Git - kivitendo-erp.git/blobdiff - js/kivi.Validator.js
kivi.Validator: Leere Checks ignorieren
[kivitendo-erp.git] / js / kivi.Validator.js
index b1bc87c765040cfdf6a787ceee4294134287979d..e48692749b7da2176b1ba078adab52fd40cf83d7 100644 (file)
@@ -34,6 +34,8 @@ namespace("kivi.Validator", function(ns) {
 
     for (var test_idx in tests) {
       var test = tests[test_idx];
+      if (!ns.checks[test])
+        continue;
 
       if (ns.checks[test]) {
         if (!ns.checks[test]($e))