[TASK] Make LinkPopup popup larger 03/51603/2
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 9 Feb 2017 04:39:52 +0000 (05:39 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 10 Feb 2017 00:50:16 +0000 (01:50 +0100)
Especially if setting links to records, the default size
of the popup is just too small. Change it to 1000 px width.

Resolves: #79702
Releases: master
Change-Id: I63f0837b6fd53d74c4686822ab4d1c8618961454
Reviewed-on: https://review.typo3.org/51603
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FieldControl/LinkPopup.php

index 4782742..d327a27 100644 (file)
@@ -38,7 +38,7 @@ class LinkPopup extends AbstractNode
 
         $parameterArray = $this->data['parameterArray'];
         $itemName = $parameterArray['itemFormElName'];
-        $windowOpenParameters = $options['windowOpenParameters'] ?? 'height=800,width=600,status=0,menubar=0,scrollbars=1';
+        $windowOpenParameters = $options['windowOpenParameters'] ?? 'height=800,width=1000,status=0,menubar=0,scrollbars=1';
 
         $linkBrowserArguments = [];
         if (isset($options['blindLinkOptions'])) {