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
|
$gridField
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$treeField = new LiteralField('Tree', '');
|
||||||
// Tree view
|
// Tree view
|
||||||
$fields->addFieldsToTab('Root.TreeView', array(
|
$fields->addFieldsToTab('Root.TreeView', array(
|
||||||
clone $actionsComposite,
|
clone $actionsComposite,
|
||||||
// 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',
|
||||||
FormField::createTag(
|
$treeField->createTag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'cms-tree',
|
'class' => 'cms-tree',
|
||||||
|
Loading…
Reference in New Issue
Block a user