Merge pull request #2028 from open-sausages/pulls/4.0/enable-link-empty

BUG Restore missing '(Choose Page)' text in link insert modal
This commit is contained in:
Chris Joe 2017-11-16 15:21:04 +13:00 committed by GitHub
commit d6ccc4c5c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,9 @@ class InternalLinkFormFactory extends LinkFormFactory
SiteTree::class,
'ID',
'TreeTitle'
)->setTitleField('MenuTitle'),
)
->setTitleField('MenuTitle')
->setHasEmptyDefault(true),
TextField::create(
'Description',
_t(__CLASS__.'.LINKDESCR', 'Link description')