[TASK] Replace DynTabMenu with jQuery/RequireJS plugin
The DynTabMenu code can be abstracted and cleaned - done via RequireJS + jQuery. A completely new jQuery plugin is written that stores the current selected tab ID in the local storage (available in IE8+) or falls back to the first tab of the menu item. The changes separates logic (JS) from structure (HTML), and removes plain old JS. Resolves: #47003 Releases: master Change-Id: Ib81606cc653ccf7d58105f463bc6a09eb742b7d5 Reviewed-on: http://review.typo3.org/19708 Reviewed-by:Alexander Opitz <opitz.alexander@googlemail.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/backend/Classes/Template/DocumentTemplate.php 48 additions, 60 deletionstypo3/sysext/backend/Classes/Template/DocumentTemplate.php
- typo3/sysext/backend/Resources/Public/JavaScript/Plugins/TabMenuPlugin.js 143 additions, 0 deletions...kend/Resources/Public/JavaScript/Plugins/TabMenuPlugin.js
- typo3/sysext/backend/Resources/Public/JavaScript/TabMenuSetup.js 62 additions, 0 deletions...ysext/backend/Resources/Public/JavaScript/TabMenuSetup.js
- typo3/sysext/backend/Resources/Public/JavaScript/tabmenu.js 1 addition, 0 deletionstypo3/sysext/backend/Resources/Public/JavaScript/tabmenu.js
Please register or sign in to comment