diff --git a/forms/gridfield/GridFieldPopupForms.php b/forms/gridfield/GridFieldPopupForms.php index 0a71bf8ee..4f955cb5c 100755 --- a/forms/gridfield/GridFieldPopupForms.php +++ b/forms/gridfield/GridFieldPopupForms.php @@ -329,11 +329,16 @@ class GridFieldPopupForm_ItemRequest extends RequestHandler { if(!($this->popupController instanceof LeftAndMain)) return false; $items = $this->popupController->Breadcrumbs($unlinked); - if($this->record) { + if($this->record && $this->record->ID) { $items->push(new ArrayData(array( 'Title' => $this->record->Title, 'Link' => false ))); + } else { + $items->push(new ArrayData(array( + 'Title' => sprintf(_t('GridField.NewRecord', 'New %s'), $this->record->singular_name()), + 'Link' => false + ))); } // TODO Remove once ViewableData->First()/Last() is fixed