mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Fixed broken test LeftAndMain caused by createTag being called
statically in AssetAdmin, when it shouldn't be
This commit is contained in:
parent
52710ebd93
commit
6b3d8904e3
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user