[BUGFIX] Set correct width for textarea in file list 87/47587/2
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 12 Apr 2016 05:45:51 +0000 (07:45 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 12 Apr 2016 07:34:27 +0000 (09:34 +0200)
Change width of the textarea to edit file's content in the
file list module if EXT:t3editor is not installed.

Resolves: #75495
Releases: master, 7.6
Change-Id: I5b05f753cae8a11a7889a6391521fcfd7c0aef51
Reviewed-on: https://review.typo3.org/47587
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Controller/File/EditFileController.php

index 392c81c..20f5140 100644 (file)
@@ -182,7 +182,7 @@ class EditFileController extends AbstractModule
             ));
             $code .= '
                 <div id="c-edit">
-                                       <textarea rows="30" name="file[editfile][0][data]" wrap="off"  class="text-monospace t3js-enable-tab">' . htmlspecialchars($fileContent) . '</textarea>
+                                       <textarea rows="30" name="file[editfile][0][data]" wrap="off"  class="form-control text-monospace t3js-enable-tab">' . htmlspecialchars($fileContent) . '</textarea>
                                        <input type="hidden" name="file[editfile][0][target]" value="' . $this->fileObject->getUid() . '" />
                                        <input type="hidden" name="redirect" value="' . htmlspecialchars($hValue) . '" />
                                </div>