mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 09:06:02 +00: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) {
|
foreach ($tabObj->FieldList() as $field) {
|
||||||
$field
|
$field
|
||||||
->setDescription($description)
|
->setDescription($description)
|
||||||
->setRightTitle($rightTitle);
|
->setRightTitle($rightTitle)
|
||||||
// ->addExtraClass('cms-description-tooltip');
|
->addExtraClass('my-extra-class');
|
||||||
|
|
||||||
if (in_array($field->getName(), $blacklist)) {
|
if (in_array($field->getName(), $blacklist)) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user