Project

General

Profile

Actions

Bug #20127

closed

Cleanup: Move static dyntabmenu code in external file

Added by Benni Mack over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-03-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Right now, the dyntabmenu gets included in the HTML header as a string in every file that is used. This way, there can be no caching of this static data at all. That's why I want to extract it in a separate JS file (typo3/js/tabmenu.js) while maintaining full backwarts compatibility for all use-cases.

There is no functional change in the dyntabmenu code itself, I leave this up for others.

(issue imported from #M10601)


Files

extract_dyntabmenu.js (7.85 KB) extract_dyntabmenu.js Administrator Admin, 2009-03-04 10:42
10601_v2.diff (10.2 KB) 10601_v2.diff Administrator Admin, 2009-03-04 11:13
Actions #1

Updated by Dmitry Dulepov over 15 years ago

Attached a patch with a minified version of the script.

Actions

Also available in: Atom PDF