(feature/cleanup) Refactored clickmenu to speed up the BE
[Packages/TYPO3.CMS.git] / typo3 / mod / web / perm / index.php
index 4e58ed6..ccdd69e 100755 (executable)
@@ -172,10 +172,7 @@ class SC_mod_web_perm_index {
                ');
 
                        // Setting up the context sensitive menu:
-               $CMparts=$this->doc->getContextMenuCode();
-               $this->doc->bodyTagAdditions = $CMparts[1];
-               $this->doc->JScode.=$CMparts[0];
-               $this->doc->postCode.= $CMparts[2];
+               $this->doc->getContextMenuCode();
 
                        // Set up menus:
                $this->menuConfig();