[BUGFIX] Load adminPanel styles for FE editing 57/27557/6
authorTim Lochmueller <tim@fruit-lab.de>
Tue, 11 Feb 2014 19:42:01 +0000 (20:42 +0100)
committerNicole Cordes <typo3@cordes.co>
Wed, 26 Mar 2014 10:15:27 +0000 (11:15 +0100)
This patch enables frontend editing even if the adminPanel is closed
(minimized). Before adminPanel AND editing tab have to be opened which
isn't really user-friendly.

Resolves: #55896
Releases: 6.2
Change-Id: I892fe72380c3ede326f3da708dd5d495667eb09e
Reviewed-on: https://review.typo3.org/27557
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Pascal Dürsteler
Tested-by: Pascal Dürsteler
Reviewed-by: Xavier Perseguers
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php

index 3127aa1..ad81b3b 100644 (file)
@@ -146,7 +146,7 @@ class FrontendBackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\B
         * @return boolean Whether frontend editing is active
         */
        public function isFrontendEditingActive() {
-               return $this->extAdmEnabled && ($this->adminPanel->isAdminModuleEnabled('edit') && $this->adminPanel->isAdminModuleOpen('edit') || $GLOBALS['TSFE']->displayEditIcons == 1);
+               return $this->extAdmEnabled && ($this->adminPanel->isAdminModuleEnabled('edit') || $GLOBALS['TSFE']->displayEditIcons == 1);
        }
 
        /**