Skip to content

Commit

Permalink
[BUGFIX] Fix paste button in page module with mode "languages"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
manuelselbach authored and bmack committed Aug 30, 2018
1 parent 0f5d7f2 commit cbe8df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/backend/Classes/View/PageLayoutView.php
Expand Up @@ -1043,7 +1043,7 @@ public function getTable_tt_content($id)
. $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() . '">';
Expand Down

0 comments on commit cbe8df5

Please sign in to comment.