mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix: onchange of date selector was not working
This commit is contained in:
parent
ba1a1c3e69
commit
372c2b4b28
@ -269,7 +269,8 @@
|
|||||||
{
|
{
|
||||||
$dcell['type'] = 'html';
|
$dcell['type'] = 'html';
|
||||||
$dcell['name'] = 'str';
|
$dcell['name'] = 'str';
|
||||||
$value['str'] = $this->jscal->input($name.'[str]',False,$value['Y'],$value['m'],$value['d'],lang($cell['help']));
|
$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);
|
||||||
$n = 2; // no other fields
|
$n = 2; // no other fields
|
||||||
$options &= ~2; // no set-today button
|
$options &= ~2; // no set-today button
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user