[BUGFIX] Correct placement of radio button in content element wizard 01/37001/3
authorBenjamin Kott <benjamin.kott@outlook.com>
Wed, 18 Feb 2015 20:14:48 +0000 (21:14 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 19 Feb 2015 07:21:27 +0000 (08:21 +0100)
Releases: master
Resolves: #65157
Change-Id: I6cf70773b1765e649d4e6f722bdec5e225dd735b
Reviewed-on: http://review.typo3.org/37001
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php

index 9069969..9572b0e 100644 (file)
@@ -209,7 +209,7 @@ class NewContentElementController {
                                        if (!$this->onClickEvent) {
                                                // Radio button:
                                                $oC = 'document.editForm.defValues.value=unescape(\'' . rawurlencode($wInfo['params']) . '\');goToalt_doc();' . (!$this->onClickEvent ? 'window.location.hash=\'#sel2\';' : '');
-                                               $content .= '<div class="contentelement-wizard-item-input"><input type="radio" name="tempB" value="' . htmlspecialchars($k) . '" onclick="' . htmlspecialchars($oC) . '" /></div>';
+                                               $content .= '<div class="media-left"><input type="radio" name="tempB" value="' . htmlspecialchars($k) . '" onclick="' . htmlspecialchars($oC) . '" /></div>';
                                                // Onclick action for icon/title:
                                                $aOnClick = 'document.getElementsByName(\'tempB\')[' . $cc . '].checked=1;' . $oC . 'return false;';
                                        } else {