mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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 7bdc3d13fc1d095ed9877c6958f78afa8a609e33.
This commit is contained in:
parent
db1854b5fb
commit
b95abeedc6
@ -355,7 +355,7 @@ class GridField extends FormField {
|
|||||||
$attrs['data-name'] = $this->getName();
|
$attrs['data-name'] = $this->getName();
|
||||||
$tableAttrs = array(
|
$tableAttrs = array(
|
||||||
'id' => isset($this->id) ? $this->id : null,
|
'id' => isset($this->id) ? $this->id : null,
|
||||||
'class' => ($extras = $this->extraClass())?'ss-gridfield-table '.$extras:'ss-gridfield-table',
|
'class' => 'ss-gridfield-table',
|
||||||
'cellpadding' => '0',
|
'cellpadding' => '0',
|
||||||
'cellspacing' => '0'
|
'cellspacing' => '0'
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user