mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
BUGFIX: use getName() for FormField object since Name() has been deprecated in SilverStripe 3
This commit is contained in:
parent
a48254a66b
commit
029f83347b
@ -202,7 +202,7 @@ JS
|
|||||||
$tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details')));
|
$tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details')));
|
||||||
$tabDetails->addExtraClass("content-galleryview");
|
$tabDetails->addExtraClass("content-galleryview");
|
||||||
foreach($fields as $field) {
|
foreach($fields as $field) {
|
||||||
$fields->removeByName($field->Name());
|
$fields->removeByName($field->getName());
|
||||||
$tabDetails->push($field);
|
$tabDetails->push($field);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user