mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Removed unused constant and config option
This commit is contained in:
parent
b38d7f6f04
commit
9ea5caa91c
@ -1,2 +1 @@
|
|||||||
<?php
|
<?php
|
||||||
define('SORTABLE_GRIDFIELD_BASE', basename(dirname(__FILE__)));
|
|
||||||
|
@ -128,10 +128,6 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
|
|||||||
|
|
||||||
$forTemplate = new arrayData($data);
|
$forTemplate = new arrayData($data);
|
||||||
|
|
||||||
//Inject Requirements
|
|
||||||
$custom = Config::inst()->get(GridFieldSortableRows::class, 'Base');
|
|
||||||
$base = $custom ?: SORTABLE_GRIDFIELD_BASE;
|
|
||||||
|
|
||||||
Requirements::css('undefinedoffset/sortablegridfield:css/GridFieldSortableRows.css');
|
Requirements::css('undefinedoffset/sortablegridfield:css/GridFieldSortableRows.css');
|
||||||
Requirements::javascript('undefinedoffset/sortablegridfield:javascript/GridFieldSortableRows.js');
|
Requirements::javascript('undefinedoffset/sortablegridfield:javascript/GridFieldSortableRows.js');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user