Skip to content

Commit

Permalink
Rollback of change to hide checkbox if there are less than 2 rows, th…
Browse files Browse the repository at this point in the history
…is seems to be breaking in some cases
  • Loading branch information
UndefinedOffset committed Jul 18, 2012
1 parent 4e77810 commit ba979db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/forms/GridFieldSortableRows.php
Expand Up @@ -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();
}

Expand Down

0 comments on commit ba979db

Please sign in to comment.