[TYPO3-v4] Kickstarter and BE Module annoyance

Steffen Kamper info at sk-typo3.de
Thu Jan 20 21:23:54 CET 2011


Hi,

this snippet is inserted in kickstarter generated BE modules:

$this->doc->postCode='
	<script language="javascript" type="text/javascript">
		script_ended = 1;
		if (top.fsMod) top.fsMod.recentIds["web"] = 0;
	</script>
';

You see that top.fsMod.recentIds["web"] is resetted. This is very bad, 
because it leads to this behaviour:
Call the module, change a page in pagetree, go to list module: id=0

So this code is still nonsense, but in 1.000.000 BE modules in TER (yes 
i know, some less)

The only chance i see is to rename fsMod.recentIds to something like 
TYPO3.Backend.LastContentId or simular and use this.

Any comments?

vg Steffen


More information about the TYPO3-project-v4 mailing list