mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #301 from torleif/patch-1
FIX Broken action checkboxes
This commit is contained in:
commit
e88c7d5154
@ -3,10 +3,25 @@
|
|||||||
namespace SilverStripe\Comments\Admin;
|
namespace SilverStripe\Comments\Admin;
|
||||||
|
|
||||||
use SilverStripe\Forms\GridField\GridField;
|
use SilverStripe\Forms\GridField\GridField;
|
||||||
|
use SilverStripe\Forms\GridField\GridFieldConfig;
|
||||||
|
use SilverStripe\ORM\SS_List;
|
||||||
use SilverStripe\View\HTML;
|
use SilverStripe\View\HTML;
|
||||||
|
|
||||||
class CommentsGridField extends GridField
|
class CommentsGridField extends GridField
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @param string $name
|
||||||
|
* @param string $title
|
||||||
|
* @param SS_List $dataList
|
||||||
|
* @param GridFieldConfig $config
|
||||||
|
*/
|
||||||
|
public function __construct($name, $title = null, SS_List $dataList = null, GridFieldConfig $config = null)
|
||||||
|
{
|
||||||
|
parent::__construct($name, $title, $dataList, $config);
|
||||||
|
|
||||||
|
$this->addExtraClass('grid-field__filter-buttons');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user