fixed wrong order from rows,cols of the multiline textarea / xul textbox

This commit is contained in:
Ralf Becker 2002-09-24 22:05:01 +00:00
parent 4f491de35d
commit 3668f6e6dd

View File

@ -44,7 +44,7 @@
'textarea' => array(
'.name' => 'textbox',
'.set' => 'multiline=true',
'size' => 'cols,rows'
'size' => 'rows,cols'
),
'integer' => array(
'.name' => 'textbox',
@ -439,7 +439,7 @@
if ($attr['multiline'])
{
$attr['type'] = 'textarea';
$attr['size'] = $attr['cols'] . ($attr['rows'] ? ','.$attr['rows'] : '');
$attr['size'] = $attr['rows'] . ($attr['cols'] ? ','.$attr['cols'] : '');
unset($attr['cols']);
unset($attr['rows']);
}