Permalink
Browse files

Revert "MINOR SSF-53 : add ability to add customised class to GridFie…

…ld table" (introduces duplicate '.ss-gridfield' class in different levels of the DOM hierarchy)

This reverts commit 7bdc3d1.
  • Loading branch information...
1 parent db1854b commit b95abeedc63646fb178314a302ecb644d47e9e9c @chillu chillu committed Mar 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/gridfield/GridField.php
View
2 forms/gridfield/GridField.php
@@ -355,7 +355,7 @@ public function FieldHolder() {
$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'
);

0 comments on commit b95abee

Please sign in to comment.