It is illogical using 'TextareaCols' configuration here. Default values give a very small text area to edit the view

This commit is contained in:
Kasun Chathuranga 2013-07-12 09:24:55 +05:30
parent f498b59af7
commit 05b5f0a284

View File

@ -230,8 +230,7 @@ $htmlString .= '<tr><td>' . __('Column names') . '</td>'
$htmlString .= '<tr><td>AS</td>'
. '<td>'
. '<textarea name="view[as]" rows="' . $cfg['TextareaRows'] . '"'
. ' cols="' . $cfg['TextareaCols'] . '"'
. ' dir="' . $text_dir . '"';
. ' cols="80" dir="' . $text_dir . '"';
if ($GLOBALS['cfg']['TextareaAutoSelect'] || true) {
$htmlString .= ' onclick="selectContent(this, sql_box_locked, true)"';
}