mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
if textarea is readonly, but form_name is already used by an other widget, dont use it
browser would only send the content of the readonly (and therefore unchanged) field
This commit is contained in:
parent
77de24e563
commit
f8ccec0d35
@ -1167,6 +1167,9 @@ class etemplate extends boetemplate
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// if textarea is readonly, but form_name is already used by an other widget, dont use it
|
||||||
|
// browser would only send the content of the readonly (and therefore unchanged) field
|
||||||
|
if ($readonly && self::$request->isset_to_process($form_name)) $form_name = '';
|
||||||
$html .= html::textarea($form_name,$value,
|
$html .= html::textarea($form_name,$value,
|
||||||
$options.html::formatOptions($cell_options,'ROWS,COLS'));
|
$options.html::formatOptions($cell_options,'ROWS,COLS'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user