[FEATURE] BE: Use proper placeholder shim for IE <= 9 30/31830/5
authorBenjamin Mack <benni@b13.de>
Fri, 25 Jul 2014 18:14:47 +0000 (20:14 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 26 Aug 2014 21:15:39 +0000 (23:15 +0200)
commitfc9dc0de0c076e75c546dca3a730bd8e39040fca
treeae8292c28c8c932fc8b750bf54621b044e994936
parentbe84d77d7268344036919bf69ad7d351e0962fe7
[FEATURE] BE: Use proper placeholder shim for IE <= 9

The current solution to add HTML5 placeholder
attribute support for unsupported browsers
(which are IE9 and lower) is using a combination
of ExtJS and Prototype, which both need
to be loaded for that.

Currently this is used in FormEngine and
the backend login form.

However, there are better ways of creating
these fallbacks, one being Placeholder.JS
(see http://jamesallardice.github.io/Placeholders.js/)
which can seamlessly be integrated,
and only be loaded for IE9 and less.

Resolves: #60578
Releases: 6.3
Change-Id: If8443276b85d15222c4fc0954e3f79b50ce6a4c9
Reviewed-on: http://review.typo3.org/31830
Reviewed-by: Felix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp <felix-source@phorax.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/contrib/placeholdersjs/placeholders.jquery.min.js [new file with mode: 0644]
typo3/sysext/backend/Classes/Controller/LoginController.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Resources/Private/Templates/login.html
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.placeholder.js [deleted file]