mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
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