mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Localized File->uploadMetadataFields() (from r99111)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102852 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fb898d0d66
commit
e99d56df3f
@ -662,7 +662,7 @@ class File extends DataObject {
|
||||
*/
|
||||
function uploadMetadataFields() {
|
||||
$fields = new FieldSet();
|
||||
$fields->push(new TextField('Title'));
|
||||
$fields->push(new TextField('Title', $this->fieldLabel('Title')));
|
||||
$this->extend('updateUploadMetadataFields', $fields);
|
||||
return $fields;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user