diff --git a/.project b/.project index f441717..9100d2b 100644 --- a/.project +++ b/.project @@ -1,29 +1,29 @@ - - - Website SilverStripe (SortableGridField) - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - org.eclipse.wst.validation.validationbuilder - - - - - org.eclipse.dltk.core.scriptbuilder - - - - - - ca.edchipman.silverstripepdt.SilverStripeNature - org.eclipse.php.core.PHPNature - org.eclipse.wst.jsdt.core.jsNature - - + + + Website SilverStripe (SortableGridField) + + + + + + org.eclipse.wst.jsdt.core.javascriptValidator + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.dltk.core.scriptbuilder + + + + + + ca.edchipman.silverstripepdt.SilverStripeNature + org.eclipse.php.core.PHPNature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/.settings/org.eclipse.php.core.prefs b/.settings/org.eclipse.php.core.prefs index 3547ea3..f08c9a9 100644 --- a/.settings/org.eclipse.php.core.prefs +++ b/.settings/org.eclipse.php.core.prefs @@ -1,3 +1,3 @@ -eclipse.preferences.version=1 -include_path=0;/SortableGridField\u00055;ca.edchipman.silverstripepdt.LANGUAGE -silverstripe_version=SS3.0 +eclipse.preferences.version=1 +include_path=0;/SortableGridField\u00055;ca.edchipman.silverstripepdt.LANGUAGE +silverstripe_version=SS3.0 diff --git a/_config.php b/_config.php index dd9dc96..db0fbe4 100644 --- a/_config.php +++ b/_config.php @@ -1,6 +1,3 @@ \ No newline at end of file diff --git a/code/forms/GridFieldSortableRows.php b/code/forms/GridFieldSortableRows.php index b8595a3..7d4e0b9 100644 --- a/code/forms/GridFieldSortableRows.php +++ b/code/forms/GridFieldSortableRows.php @@ -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());