Actions
Bug #43447
closedadmPanel.override.edit.editNoPopup = 1 doesn't work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
Start date:
2012-11-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The User TSconfig 'admPanel.module.edit.forceNoPopup' is deprecated, but 'admPanel.override.edit.editNoPopup = 1' doesn't work.
typo3/sysext/feedit/view/class.tx_feedit_editpanel.php / function 'editPanelLinkWrap_doWrap':
if ($GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] || $GLOBALS['BE_USER']->extAdminConfig['module.']['edit.']['forceNoPopup']) { ...
$GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] is not true although 'admPanel.override.edit.editNoPopup = 1' is set in user TSconfig.
In typo3/sysext/cms/tslib/class.tslib_adminpanel.php / function 'initialize' $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] is set only under this condition:
if (t3lib_div::_GP('ADMCMD_editIcons')) { $GLOBALS['TSFE']->displayFieldEditIcons=1; $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] = 1; }
Should be expanded:
if ($this->extGetFeAdminValue('edit', 'editNoPopup')) { $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] = 1; } if (t3lib_div::_GP('ADMCMD_editIcons')) { $GLOBALS['TSFE']->displayFieldEditIcons=1; $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] = 1; }
Actions