Revert "MINOR SSF-53 : add ability to add customised class to GridField table" (introduces duplicate '.ss-gridfield' class in different levels of the DOM hierarchy)

This reverts commit 7bdc3d13fc.
This commit is contained in:
Ingo Schommer 2012-03-02 12:28:45 +01:00
parent db1854b5fb
commit b95abeedc6

View File

@ -355,7 +355,7 @@ class GridField extends FormField {
$attrs['data-name'] = $this->getName();
$tableAttrs = array(
'id' => isset($this->id) ? $this->id : null,
'class' => ($extras = $this->extraClass())?'ss-gridfield-table '.$extras:'ss-gridfield-table',
'class' => 'ss-gridfield-table',
'cellpadding' => '0',
'cellspacing' => '0'
);