[BUGFIX] Re-fix new content element wizard links click area 77/36877/2
authorMathias Brodala <mbrodala@pagemachine.de>
Fri, 13 Feb 2015 13:39:41 +0000 (14:39 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 14 Feb 2015 10:56:04 +0000 (11:56 +0100)
This fixes a regression introduced with #64892 and makes the
whole link area clickable again.

Resolves: #65058
Releases: master
Change-Id: I7e3c1bb19f1ed7148a2cd901ee23abf1f97aa04a
Reviewed-on: http://review.typo3.org/36877
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_module_web_new_element.less [new file with mode: 0644]
typo3/sysext/t3skin/Resources/Private/Styles/t3skin.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css

index 71134e8..9069969 100644 (file)
@@ -163,7 +163,7 @@ class NewContentElementController {
                        $code = '';
                        $wizardItems = $this->getWizardItems();
                        // Wrapper for wizards
-                       $this->elementWrapper['section'] = array('<div class="panel panel-tab"><div class="panel-body">', '</div></div>');
+                       $this->elementWrapper['section'] = array('<div class="contentelement-wizard panel panel-tab"><div class="panel-body">', '</div></div>');
                        // Copy wrapper for tabs
                        $this->elementWrapperForTabs = $this->elementWrapper;
                        // Hook for manipulating wizardItems, wrapper, onClickEvent etc.
diff --git a/typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_module_web_new_element.less b/typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_module_web_new_element.less
new file mode 100644 (file)
index 0000000..db6d086
--- /dev/null
@@ -0,0 +1,10 @@
+//
+// New Record Wizard
+//
+
+// Should be added by NewContentElementController only when necessary
+.contentelement-wizard {
+       a {
+               display: inline-block;
+       }
+}
index 4387663..4c72f77 100644 (file)
 @import "TYPO3/_topbar.less";
 
 @import "TYPO3/_module_web_list_sysnote.less";
+@import "TYPO3/_module_web_new_element.less";
 @import "TYPO3/_module_extensionmanager.less";
 @import "TYPO3/_module_lang.less";
 @import "TYPO3/_module_beuser.less";
index 262fed4..043869a 100644 (file)
@@ -10717,6 +10717,9 @@ fieldset[disabled] .live-search-list .x-btn button.active {
 #typo3-dblist-sysnotes .single-note:hover .header span {
   color: #d7d7d7;
 }
+.contentelement-wizard a {
+  display: inline-block;
+}
 .typo3-extension-list .ext-icon {
   max-height: 16px;
   width: auto;