Permalink
Browse files

Rollback of change to hide checkbox if there are less than 2 rows, th…

…is seems to be breaking in some cases
  • Loading branch information...
UndefinedOffset committed Jul 18, 2012
1 parent 4e77810 commit ba979db26c23534a22ab59b02c6a650fa6965ea5
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/forms/GridFieldSortableRows.php
@@ -26,7 +26,7 @@ public function getHTMLFragments($gridField) {
}
//Ensure user can edit
- if(!singleton($gridField->getModelClass())->canEdit() || !$gridField->getList() || $gridField->getList()->Count()>1){
+ if(!singleton($gridField->getModelClass())->canEdit()){
return array();
}

0 comments on commit ba979db

Please sign in to comment.