Fixing AssetAdmin to use static FormField::create_tag()

Instead of createTag() which is deprecated
This commit is contained in:
Sean Harvey 2012-11-15 14:32:52 +13:00
parent 33884acbc5
commit 94b37dbeb0

View File

@ -253,7 +253,7 @@ JS
// TODO Replace with lazy loading on client to avoid performance hit of rendering potentially unused views
new LiteralField(
'Tree',
$treeField->createTag(
FormField::create_tag(
'div',
array(
'class' => 'cms-tree',