[BUGFIX] Register Bootstrap JavaScript as AMD Module 06/38306/5
authorDaniel Sattler <sattler@b13.de>
Fri, 27 Mar 2015 15:25:44 +0000 (16:25 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 27 Mar 2015 20:46:20 +0000 (21:46 +0100)
commitb7d6c884b5b1ea961e6e3ae8d56551f3c07ac430
tree2d5a53165364b6bdd85484f36dbe91373bb3b141
parent83eab774aabfaef56cea3019190f4a3ee490a96e
[BUGFIX] Register Bootstrap JavaScript as AMD Module

Set jQuery as dependency for the Bootstrap JavaScript file if it is loaded
via RequireJS. The Bootstrap file can still  be used without RequireJS.

Also add "bootstrap" as dependency for all backend JS file which need Boostrap.

Resolves: #66097
Releases: master
Change-Id: I5869394e5c635cea7f56c799fd9322bf245341a4
Reviewed-on: http://review.typo3.org/38306
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/contrib/twbs/.bootstrap.min.diff [new file with mode: 0644]
typo3/contrib/twbs/bootstrap.min.js
typo3/sysext/backend/Resources/Public/JavaScript/ContextHelp.js
typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js
typo3/sysext/backend/Resources/Public/JavaScript/Modal.js
typo3/sysext/backend/Resources/Public/JavaScript/Popover.js
typo3/sysext/backend/Resources/Public/JavaScript/Tabs.js
typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js
typo3/sysext/core/Classes/Page/PageRenderer.php