From 27352776c066699b3b0668181e5743f6958d2c0c Mon Sep 17 00:00:00 2001 From: Markus Kobligk Date: Tue, 13 Jun 2017 18:06:47 +0200 Subject: [PATCH] [BUGFIX] Fix wrong name for context menu javascript The wrong naming here breaks the functionality 'paste as reference after' within the context menu when copying a content element and clicking on the icon of another content element for pasting a reference of the copy after the element. The file Resources/Public/JavaScript/ClickMenuActions.js does not exist, I think this is just a logical error. --- Classes/ContextMenu/ItemProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ContextMenu/ItemProvider.php b/Classes/ContextMenu/ItemProvider.php index f95774f..abdf707 100644 --- a/Classes/ContextMenu/ItemProvider.php +++ b/Classes/ContextMenu/ItemProvider.php @@ -92,7 +92,7 @@ protected function getAdditionalAttributes(string $itemName): array $attributes = $this->getPasteAdditionalAttributes('after'); $attributes += [ - 'data-callback-module' => 'TYPO3/CMS/Gridelements/ClickMenuActions', + 'data-callback-module' => 'TYPO3/CMS/Gridelements/ContextMenuActions', 'data-action-url' => htmlspecialchars(BackendUtility::getModuleUrl('tce_db', $urlParameters)) ]; return $attributes;