diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index f41b232..187d1e1 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -275,7 +275,7 @@ class FrontendEditPanel } else { if ($confirm && $this->backendUser->jsConfirmation(JsConfirmation::FE_EDIT)) { // Gets htmlspecialchared later - $cf1 = 'if (confirm(' . GeneralUtility::quoteJSvalue($confirm, true) . ')) {'; + $cf1 = 'if (confirm(' . GeneralUtility::quoteJSvalue($confirm) . ')) {'; $cf2 = '}'; } else { $cf1 = ($cf2 = '');