[BUGFIX] Fix paste button in page module with mode "languages" 71/57971/3
authorManuel Selbach <manuel_selbach@yahoo.de>
Mon, 20 Aug 2018 17:55:37 +0000 (19:55 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 05:45:25 +0000 (07:45 +0200)
A content element can once again be pasted directly at a specific
position with the help of the paste button when in the "languages" mode.

Releases: master, 8.7
Resolves: #85911
Change-Id: I08e48361b45c4cffaf83c4b7b92f70303ab8babf
Reviewed-on: https://review.typo3.org/57971
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/View/PageLayoutView.php

index 2302eb7..c461b7d 100644 (file)
@@ -1043,7 +1043,7 @@ class PageLayoutView implements LoggerAwareInterface
                                 . $row['uid'] . '" data-table="tt_content" data-uid="' . $row['uid'] . '"' . $displayNone . '>' . $singleElementHTML . '</div>';
 
                             if ($this->tt_contentConfig['languageMode']) {
-                                $singleElementHTML .= '<div class="t3-page-ce t3js-page-ce">';
+                                $singleElementHTML .= '<div class="t3-page-ce" data-colpos="' . $columnId . '">';
                             }
                             $singleElementHTML .= '<div class="t3js-page-new-ce t3-page-ce-wrapper-new-ce" id="colpos-' . $columnId . '-' . 'page-' . $id .
                                 '-' . StringUtility::getUniqueId() . '">';