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:
Sam Minnee 2008-02-20 09:39:17 +00:00
parent e4d300c8c8
commit 53ef54c4b1

View File

@ -667,7 +667,7 @@ class TableField_Item extends TableListField_Item {
$field->Name = $combinedFieldName;
$field->setValue($field->dataValue());
$field->setExtraClass('col'.$i);
$field->addExtraClass('col'.$i);
$field->setForm($this->data);
// transformation
@ -719,7 +719,7 @@ class TableField_Item extends TableListField_Item {
} else {
$field = eval("return new " . $fieldType . ";");
}
$field->setExtraClass('col'.$i);
$field->addExtraClass('col'.$i);
$this->fields[] = $field;
$i++;
}