mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02: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(
|
'textarea' => array(
|
||||||
'.name' => 'textbox',
|
'.name' => 'textbox',
|
||||||
'.set' => 'multiline=true',
|
'.set' => 'multiline=true',
|
||||||
'size' => 'cols,rows'
|
'size' => 'rows,cols'
|
||||||
),
|
),
|
||||||
'integer' => array(
|
'integer' => array(
|
||||||
'.name' => 'textbox',
|
'.name' => 'textbox',
|
||||||
@ -439,7 +439,7 @@
|
|||||||
if ($attr['multiline'])
|
if ($attr['multiline'])
|
||||||
{
|
{
|
||||||
$attr['type'] = 'textarea';
|
$attr['type'] = 'textarea';
|
||||||
$attr['size'] = $attr['cols'] . ($attr['rows'] ? ','.$attr['rows'] : '');
|
$attr['size'] = $attr['rows'] . ($attr['cols'] ? ','.$attr['cols'] : '');
|
||||||
unset($attr['cols']);
|
unset($attr['cols']);
|
||||||
unset($attr['rows']);
|
unset($attr['rows']);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user