bug fixes from running t/FormGetName.t
This commit is contained in:
parent
3b06849a80
commit
6a9a63c4b0
26 changed files with 70 additions and 47 deletions
|
|
@ -75,7 +75,7 @@ sub definition {
|
|||
defaultValue=>$i18n->get("972")
|
||||
},
|
||||
defaultValue=>{
|
||||
defaultValue=$session->datetime->time()
|
||||
defaultValue=>$session->datetime->time()
|
||||
},
|
||||
maxlength=>{
|
||||
defaultValue=> 19
|
||||
|
|
@ -128,11 +128,11 @@ sub toHtml {
|
|||
value=>$value,
|
||||
size=>$self->get("size"),
|
||||
extras=>$self->get("extras"),
|
||||
id=>$self->{id},
|
||||
id=>$self->get('id'),
|
||||
maxlength=>$self->get("maxlength")
|
||||
)->toHtml . '<script type="text/javascript">
|
||||
Calendar.setup({
|
||||
inputField : "'.$self->{id}.'",
|
||||
inputField : "'.$self->get('id').'",
|
||||
ifFormat : "%Y-%m-%d %H:%M:%S",
|
||||
showsTime : true,
|
||||
step : 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue