diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 531b924..d6a7035 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -69,7 +69,7 @@ class FrontendEditPanel { */ public function editPanel($content, array $conf, $currentRecord = '', array $dataArr = array(), $table = '', $allow = '', $newUID = 0, array $hiddenFields = array()) { // Special content is about to be shown, so the cache must be disabled. - $GLOBALS['TSFE']->set_no_cache(); + $GLOBALS['TSFE']->set_no_cache('Frontend edit panel is shown'); $formName = 'TSFE_EDIT_FORM_' . substr($GLOBALS['TSFE']->uniqueHash(), 0, 4); $formTag = '
'; $sortField = $GLOBALS['TCA'][$table]['ctrl']['sortby']; @@ -185,7 +185,7 @@ class FrontendEditPanel { */ public function editIcons($content, $params, array $conf = array(), $currentRecord = '', array $dataArr = array(), $addUrlParamStr = '', $table, $editUid, $fieldList) { // Special content is about to be shown, so the cache must be disabled. - $GLOBALS['TSFE']->set_no_cache(); + $GLOBALS['TSFE']->set_no_cache('Display frontend edit icons'); $style = $conf['styleAttribute'] ? ' style="' . htmlspecialchars($conf['styleAttribute']) . '"' : ''; $iconTitle = $this->cObj->stdWrap($conf['iconTitle'], $conf['iconTitle.']); $iconImg = $conf['iconImg'] ? $conf['iconImg'] : '';