From ad384349cb6dfccc60779641b441efdfc69d2c8a Mon Sep 17 00:00:00 2001 From: Benjamin Mack Date: Tue, 25 Mar 2014 15:54:47 +0100 Subject: [PATCH] [CLEANUP] Remove option "edit_wideDocument" The historical option "wide document" can be safely removed, as the wide screen options from 10 years ago are default by now. Resolves: #57295 Releases: 6.2 Change-Id: I0e5c81046733f4ddd10cc7d084f0ef7b952c3cb0 Reviewed-on: https://review.typo3.org/28769 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Simon Schaufelberger Tested-by: Simon Schaufelberger Reviewed-by: Georg Ringer Tested-by: Georg Ringer --- Classes/FrontendEditPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 9ded0ff..b271509 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -253,7 +253,7 @@ class FrontendEditPanel { * @see editPanelLinkWrap() */ protected function editPanelLinkWrap_doWrap($string, $url) { - $onclick = 'vHWin=window.open(\'' . $url . '&returnUrl=close.html\',\'FEquickEditWindow\',\'' . ($GLOBALS['BE_USER']->uc['edit_wideDocument'] ? 'width=690,height=500' : 'width=540,height=400') . ',status=0,menubar=0,scrollbars=1,resizable=1\');vHWin.focus();return false;'; + $onclick = 'vHWin=window.open(' . GeneralUtility::quoteJSvalue($url . '&returnUrl=close.html') . ',\'FEquickEditWindow\',\'width=690,height=500,status=0,menubar=0,scrollbars=1,resizable=1\');vHWin.focus();return false;'; return '' . $string . ''; }