[BUGFIX] Ensure jQuery is loaded as well when loading the Lang module 81/41981/3
authorMarkus Klein <markus.klein@typo3.org>
Mon, 27 Jul 2015 14:29:21 +0000 (16:29 +0200)
committerBenjamin Mack <benni@typo3.org>
Wed, 29 Jul 2015 14:56:12 +0000 (16:56 +0200)
commit11cf2f82948bf2829b8eaf1a30ff5bf3d5acd0c2
treec38e55eaf3f8cf1a12f7599136c62e9746b62a6d
parent35bb10f18431f59257116626883d46ff5c1940d6
[BUGFIX] Ensure jQuery is loaded as well when loading the Lang module

If we forcefully load the JS Lang-module, which depends on jQuery, we
have to ensure that jQuery is requested as well, otherwise the dependency
of the Lang-module fails.

Note that jQuery is never loaded via requireJS. jQuery must be explicitly added
by calling  the loadJquery method of PageRenderer. jQuery itself registers as
an AMD module and can then be used as dependency by other AMD modules.

We therefore also remove the (completely useless) path definition in the
requireJS configuration.

Releases: master
Resolves: #68555
Change-Id: If8ef5b1b79523cf00451f3ba34a00b983945c000
Reviewed-on: http://review.typo3.org/41981
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tomas Norre Mikkelsen <tomasnorre@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php