mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fixing AssetAdmin to use static FormField::create_tag()
Instead of createTag() which is deprecated
This commit is contained in:
parent
33884acbc5
commit
94b37dbeb0
@ -253,7 +253,7 @@ JS
|
|||||||
// TODO Replace with lazy loading on client to avoid performance hit of rendering potentially unused views
|
// TODO Replace with lazy loading on client to avoid performance hit of rendering potentially unused views
|
||||||
new LiteralField(
|
new LiteralField(
|
||||||
'Tree',
|
'Tree',
|
||||||
$treeField->createTag(
|
FormField::create_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'cms-tree',
|
'class' => 'cms-tree',
|
||||||
|
Loading…
Reference in New Issue
Block a user