BUGFIX Fixed broken test LeftAndMain caused by createTag being called

statically in AssetAdmin, when it shouldn't be
This commit is contained in:
Sean Harvey 2012-04-12 13:04:01 +12:00
parent 52710ebd93
commit 6b3d8904e3

View File

@ -233,13 +233,14 @@ JS
$gridField
));
$treeField = new LiteralField('Tree', '');
// Tree view
$fields->addFieldsToTab('Root.TreeView', array(
clone $actionsComposite,
// TODO Replace with lazy loading on client to avoid performance hit of rendering potentially unused views
new LiteralField(
'Tree',
FormField::createTag(
$treeField->createTag(
'div',
array(
'class' => 'cms-tree',