forked from extern/egroupware
fixed wrong order from rows,cols of the multiline textarea / xul textbox
This commit is contained in:
parent
4f491de35d
commit
3668f6e6dd
@ -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']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user