[TASK] Replace DynTabMenu with jQuery/RequireJS plugin 08/19708/13
authorBenjamin Mack <benni@typo3.org>
Sat, 8 Mar 2014 11:24:09 +0000 (12:24 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 12 Nov 2014 10:13:18 +0000 (11:13 +0100)
commitc362ba52cf04d4bf93a5043be7fc39c27671cbcf
treeb65483feb89f59c94d25eb57c6765d8fd6b4b481
parent9cd694add70cf534bfcd40684c1fb303b7b385f1
[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>
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Resources/Public/JavaScript/Plugins/TabMenuPlugin.js [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/TabMenuSetup.js [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/tabmenu.js