[BUGFIX] Bring back select field button's functionality 76/33676/4
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 31 Oct 2014 23:36:35 +0000 (00:36 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 1 Nov 2014 20:35:10 +0000 (21:35 +0100)
Fix the missing CSS classes for the up/down/remove buttons of select
fields in FormEngine.

Resolves: #62591
Releases: master
Change-Id: I5ab3bda5a1170451a75e0c992cf2c6579bfb8c5d
Reviewed-on: http://review.typo3.org/33676
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/t3skin/Classes/Slot/IconUtility.php

index 754eabb..85e41db 100644 (file)
@@ -46,16 +46,19 @@ class IconUtility {
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-unhide' => 'fa-circle-thin',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-upload' => 'fa-upload',
                't3-icon t3-icon-actions t3-icon-actions-input t3-icon-input-clear' => 'fa-times-circle',
-               't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-down t3-btn t3-btn-moveoption-down' => 'fa-caret-down',
+               // TODO: t3-btn-* is still used in FormEngine.js refactor to use data attributes in HTML
+               't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-down t3-btn t3-btn-moveoption-down' => 'fa-caret-down t3-btn t3-btn-moveoption-down',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-down' => 'fa-arrow-down',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-left' => 'fa-arrow-left',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-right' => 'fa-arrow-right',
-               't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-up t3-btn t3-btn-moveoption-up' => 'fa-caret-up',
+               // TODO: t3-btn-* is still used in FormEngine.js refactor to use data attributes in HTML
+               't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-up t3-btn t3-btn-moveoption-up' => 'fa-caret-up t3-btn t3-btn-moveoption-up',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-up' => 'fa-arrow-up',
                't3-icon t3-icon-actions t3-icon-actions-page t3-icon-page-move' => 'fa-arrows',
                't3-icon t3-icon-actions t3-icon-actions-page t3-icon-page-new' => 'fa-plus-square',
                't3-icon t3-icon-actions t3-icon-actions-page t3-icon-page-open' => 'fa-pencil',
-               't3-icon t3-icon-actions t3-icon-actions-selection t3-icon-selection-delete t3-btn t3-btn-removeoption' => 'fa-times',
+               // TODO: t3-btn-* is still used in FormEngine.js refactor to use data attributes in HTML
+               't3-icon t3-icon-actions t3-icon-actions-selection t3-icon-selection-delete t3-btn t3-btn-removeoption' => 'fa-times t3-btn t3-btn-removeoption',
                't3-icon t3-icon-actions t3-icon-actions-selection t3-icon-selection-delete' => 'fa-remove',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-backend-user-emulate' => 'fa-sign-in',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-backend-user-switch' => 'fa-sign-out',
@@ -120,4 +123,4 @@ class IconUtility {
                return array($tagAttributes, $innerHtml, $tagName);
        }
 
-}
\ No newline at end of file
+}