Commit 987881a9 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Ich habe die Inputs durch <textarea> ersetzt, damit der komplette Text lesbar ist.

parent 5de69f8f {
white-space: pre;
textarea {
resize: none;
overflow: hidden;
\ No newline at end of file
$(document).ready(function() {
$("textarea").each(function() {
$("textarea").keyup(function() {
function auto_grow(element) { = "5px"; = (element.scrollHeight + 10) + "px";
\ No newline at end of file
......@@ -37,7 +37,7 @@ In der nächsten Spalte findest du entweder Texte der Sprache für die uns einig
<td class="name">{{preg_replace("/(\s*).*#(.*)$/si", "$1$2", $name)}}</td>
<td>@if(isset($langValues[$to])) <input type="text" size="50" form="submit" name="{{$name}}" value="{{$langValues[$to]}}" readonly /> @else <input type="text" size="50" form="submit" name="_new_{{$name}}" /> @endif</td>
<td>@if(isset($langValues[$to])) <textarea type="text" rows="1" cols="50" form="submit" name="{{$name}}" readonly >{{$langValues[$to]}}</textarea> @else <textarea rows="1" cols="50" form="submit" name="_new_{{$name}}" ></textarea> @endif</td>
@foreach($langs as $lang => $value)
<td>{!! $langValues[$lang] or "" !!}</td>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment