[BUGFIX] Avoid warning dialog when closing records with dateTime fields 40/52140/3
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 24 Mar 2017 11:12:43 +0000 (12:12 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Sat, 25 Mar 2017 15:58:13 +0000 (16:58 +0100)
commit99f54d42536acf90616e5deae5ed2e754b1c478d
treeecd5d257d639c2b850ea089f03c09aa3738dd3a2
parentd9e9992259fe665932e6ba26954e52b4ceedeb7d
[BUGFIX] Avoid warning dialog when closing records with dateTime fields

In case a record contains a DateTimePicker field, the validation is triggered to early
and mark each DateTime field as changed. This patch fix this wrong behavior.

Resolves: #80008
Releases: master
Change-Id: I9a2d81c6cf5b544d5a6f08f43fd2fea86b415d6a
Reviewed-on: https://review.typo3.org/52140
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js