mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Using FieldHolder() instead of Field() for subfields in DatetimeField->FieldHolder(), in order to get configuraton settings for javascript DateField (from r107439)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112598 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d67c43ad7d
commit
52bd0cc4bb
@ -47,7 +47,9 @@ class DatetimeField extends FormField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Field() {
|
function Field() {
|
||||||
return $this->dateField->Field() . $this->timeField->Field();
|
Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');
|
||||||
|
|
||||||
|
return $this->dateField->FieldHolder() . $this->timeField->FieldHolder();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user