[BUGFIX] Check for a valid Date object before opening datepicker
authorPatrick Schriner <patrick.schriner@diemedialen.de>
Fri, 6 May 2011 11:59:43 +0000 (13:59 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Fri, 6 May 2011 17:34:21 +0000 (19:34 +0200)
commit75d5c7b88462c553e62d4c223ec1cac96908d88d
tree05e98d2cb8d236edb2abe3c3119b6cb9736c3b56
parent016715f55b7c69d00a5060f733254bd5d288925e
[BUGFIX] Check for a valid Date object before opening datepicker

Fix a regression, while trying to parse the old time when opening
the datepicker would fail on a previously empty datetime field.
Add a check for a valid Date object.

Resolves: #26674
Relates: #25043

Change-Id: Ib435031d0aad56940618c0426cc400965786d891
Reviewed-on: http://review.typo3.org/1942
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
t3lib/js/extjs/tceforms.js