BUG Popup to apear on a date field.

This commit is contained in:
Mateusz Uzdowski 2012-09-17 11:59:00 +12:00 committed by Will Rossiter
parent b572b79b30
commit 9b24ace261

View File

@ -59,7 +59,9 @@ JS
$default = ($this->getSetting('DefaultToToday')) ? date('d/m/Y') : $this->Default;
return new DateField( $this->Name, $this->Title, $default);
$dateField = new DateField( $this->Name, $this->Title, $default);
$dateField->setConfig('showcalendar', true);
return $dateField;
}
/**
@ -75,4 +77,4 @@ JS
'date' => true
);
}
}
}