mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removed use of deprecated setExtraClass
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49885 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e4d300c8c8
commit
53ef54c4b1
@ -667,7 +667,7 @@ class TableField_Item extends TableListField_Item {
|
|||||||
|
|
||||||
$field->Name = $combinedFieldName;
|
$field->Name = $combinedFieldName;
|
||||||
$field->setValue($field->dataValue());
|
$field->setValue($field->dataValue());
|
||||||
$field->setExtraClass('col'.$i);
|
$field->addExtraClass('col'.$i);
|
||||||
$field->setForm($this->data);
|
$field->setForm($this->data);
|
||||||
|
|
||||||
// transformation
|
// transformation
|
||||||
@ -719,7 +719,7 @@ class TableField_Item extends TableListField_Item {
|
|||||||
} else {
|
} else {
|
||||||
$field = eval("return new " . $fieldType . ";");
|
$field = eval("return new " . $fieldType . ";");
|
||||||
}
|
}
|
||||||
$field->setExtraClass('col'.$i);
|
$field->addExtraClass('col'.$i);
|
||||||
$this->fields[] = $field;
|
$this->fields[] = $field;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user