[BUGFIX] Validate FormEngine fields on load 28/53328/4
authorMichael Stucki <michael.stucki@typo3.org>
Mon, 26 Jun 2017 09:42:34 +0000 (11:42 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 26 Jun 2017 13:10:03 +0000 (15:10 +0200)
Make sure the validation of FormEngine fields is triggered on load.
This bug does not occur in newer versions.

Releases: 7.6
Resolves: #81520
Change-Id: Iaeff5c82350fd529e4ad85af1477b193146ae0f0
Reviewed-on: https://review.typo3.org/53328
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js

index 9620f36..2c90671 100644 (file)
@@ -75,6 +75,7 @@ define(['jquery'], function ($) {
                FormEngineValidation.lastTime = 0;
                FormEngineValidation.refDate = today;
                FormEngineValidation.USmode = 0;
+               FormEngineValidation.validate();
        };
 
        /**