mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
BUGFIX Make sure it's possible to rename the module's directory without breaking things.
This commit is contained in:
parent
acc1ab1f46
commit
62e171a4e3
@ -1,3 +1,2 @@
|
||||
<?php
|
||||
|
||||
?>
|
||||
define('SORTABLE_GRIDFIELD_BASE', Director::absoluteBaseURL() . basename(dirname(__FILE__)));
|
@ -73,8 +73,8 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
|
||||
|
||||
|
||||
//Inject Requirements
|
||||
Requirements::css('SortableGridField/css/GridFieldSortableRows.css');
|
||||
Requirements::javascript('SortableGridField/javascript/GridFieldSortableRows.js');
|
||||
Requirements::css(SORTABLE_GRIDFIELD_BASE . '/css/GridFieldSortableRows.css');
|
||||
Requirements::javascript(SORTABLE_GRIDFIELD_BASE . '/javascript/GridFieldSortableRows.js');
|
||||
|
||||
|
||||
$args = array('Colspan' => count($gridField->getColumns()), 'ID' => $gridField->ID());
|
||||
|
Loading…
Reference in New Issue
Block a user