mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Issue #4424
Model Admin : 'Show Specification for' toggle link breaks if Title contains spaces #4424
This commit is contained in:
parent
d0d34bde4a
commit
9ad64716cc
@ -366,6 +366,7 @@ abstract class ModelAdmin extends LeftAndMain {
|
|||||||
$specRelations->push(new ArrayData(array('Name' => $name, 'Description' => $desc)));
|
$specRelations->push(new ArrayData(array('Name' => $name, 'Description' => $desc)));
|
||||||
}
|
}
|
||||||
$specHTML = $this->customise(array(
|
$specHTML = $this->customise(array(
|
||||||
|
'attrModelName' => str_replace(' ', '',$modelName),
|
||||||
'ModelName' => Convert::raw2att($modelName),
|
'ModelName' => Convert::raw2att($modelName),
|
||||||
'Fields' => $specFields,
|
'Fields' => $specFields,
|
||||||
'Relations' => $specRelations,
|
'Relations' => $specRelations,
|
||||||
|
Loading…
Reference in New Issue
Block a user