mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Use double quotes for onchange to match everything else
This commit is contained in:
parent
670dcdcb71
commit
73c1ae8617
@ -280,7 +280,7 @@ class date_widget
|
||||
{
|
||||
$dcell['type'] = 'html';
|
||||
$dcell['name'] = 'str';
|
||||
$jscaloptions = $cell['onchange'] ? ( "onchange='". ( (int)$cell['onchange'] === 1 ? "this.form.submit();'" : $cell['onchange']. "'" ) ) : '' ;
|
||||
$jscaloptions = $cell['onchange'] ? ( ' onchange="'. ( (int)$cell['onchange'] === 1 ? 'this.form.submit();"' : $cell['onchange']. '"' ) ) : '' ;
|
||||
$value['str'] = $this->jscal->input($name.'[str]',False,$value['Y'],$value['m'],$value['d'],lang($cell['help']),$jscaloptions,false,!($options & 128));
|
||||
$n = 2; // no other fields
|
||||
$options &= ~2; // no set-today button
|
||||
|
Loading…
Reference in New Issue
Block a user