[BUGFIX] Start click binding only after DOM is ready 36/52136/3
authorFrank Naegler <frank.naegler@typo3.org>
Thu, 23 Mar 2017 13:46:51 +0000 (14:46 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 24 Mar 2017 14:25:08 +0000 (15:25 +0100)
commit7a4814c2f20443dc4aae8eeea8d08ea02eb1af6c
tree554551800606c5bf22832dda3aa8b8e29f1f1e8a
parentc21f57150c1e8c3a27ceec548ffb9208b60f1410
[BUGFIX] Start click binding only after DOM is ready

This patch fixes a loading issue on poor internet connections.
In case of a slow internet connection the icons are not loaded and the
click binding does not work. A DOM ready check should solve the issue.

Resolves: #80416
Releases: master, 7.6
Change-Id: Ia79f14e9dbe0b44a22c5916073b4649211b0bd7b
Reviewed-on: https://review.typo3.org/52136
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tabea Oertel <tabea.oertel@dkd.de>
Tested-by: Tabea Oertel <tabea.oertel@dkd.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php