Bug #56250
closed
Clickmenu show_item.php is broken
Added by Frans Saris over 10 years ago.
Updated about 6 years ago.
Description
If you open a info pop-up (show_item.php) there is a icon shown in the left upper corner.
This icon is has a Clickmenu.show() but this doesn't work.
Uncaught ReferenceError: Clickmenu is not defined
The following change will make the context menu appear but it will not work since other objects and dependencies are still missing. Only 'show' is working.
--- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
+++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
@@ -435,7 +435,8 @@ class ElementInformationController {
* @return void
*/
public function printContent() {
- echo $this->doc->startPage('') .
+ echo $this->doc->getContextMenuCode() .
+ $this->doc->startPage('') .
$this->doc->insertStylesAndJS($this->content) .
$this->doc->endPage();
}
- Status changed from New to Under Review
- Complexity set to no-brainer
- Status changed from Under Review to Accepted
- Status changed from Accepted to Under Review
- Complexity changed from no-brainer to easy
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF