diff --git a/code/GridFieldPageHolder.php b/code/GridFieldPageHolder.php index 5a4f8fc..5191ce1 100644 --- a/code/GridFieldPageHolder.php +++ b/code/GridFieldPageHolder.php @@ -57,7 +57,7 @@ public function getCMSFields() { $this->AllChildrenIncludingDeleted(), $gridFieldConfig); - //$gridField->setModelClass($this->defaultChild()); + $gridField->setModelClass($this->defaultChild()); $fields->addFieldToTab($PageTab, $gridField); }