mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #57 from open-sausages/pulls/extra-class
Test addExtraClass()
This commit is contained in:
commit
dd06638b0a
@ -303,8 +303,8 @@ class BasicFieldsTestPage extends TestPage
|
||||
foreach ($tabObj->FieldList() as $field) {
|
||||
$field
|
||||
->setDescription($description)
|
||||
->setRightTitle($rightTitle);
|
||||
// ->addExtraClass('cms-description-tooltip');
|
||||
->setRightTitle($rightTitle)
|
||||
->addExtraClass('my-extra-class');
|
||||
|
||||
if (in_array($field->getName(), $blacklist)) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user