diff options
Diffstat (limited to 'libraries/classes/Config/FormDisplayTemplate.php')
-rw-r--r-- | libraries/classes/Config/FormDisplayTemplate.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/classes/Config/FormDisplayTemplate.php b/libraries/classes/Config/FormDisplayTemplate.php index a7ae0bbbcd..946a3a6634 100644 --- a/libraries/classes/Config/FormDisplayTemplate.php +++ b/libraries/classes/Config/FormDisplayTemplate.php @@ -150,7 +150,8 @@ class FormDisplayTemplate } $vArgs = $vArgs ? ", ['" . implode("', '", $vArgs) . "']" : ''; - $jsArray[] = "registerFieldValidator('" . $fieldId . "', '" . $vName . "', true" . $vArgs . ')'; + $jsArray[] = "window.Config.registerFieldValidator('" + . $fieldId . "', '" . $vName . "', true" . $vArgs . ')'; } } |