From 2b49d18350ec4f0ce6bc50f4b9fc9a448b961d12 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 20 Aug 2008 04:57:55 +0000 Subject: [PATCH] BUGFIX HtmlEditorField_Toolbar->LinkForm() for editing a link inside an HtmlEditorField instance was showing page titles using the "Title" field, changed to "MenuTitle" to be consistent with the main CMS site tree and to avoid confusion git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61155 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/HtmlEditorField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php index 91a207e8c..bdd281ec6 100755 --- a/forms/HtmlEditorField.php +++ b/forms/HtmlEditorField.php @@ -359,7 +359,7 @@ class HtmlEditorField_Toolbar extends RequestHandlingData { "file" => _t('HtmlEditorField.LINKFILE', "Download a file"), ) ), - new TreeDropdownField("internal", _t('HtmlEditorField.PAGE', "Page"), "SiteTree", "URLSegment"), + new TreeDropdownField("internal", _t('HtmlEditorField.PAGE', "Page"), "SiteTree", "URLSegment", "MenuTitle"), new TextField("external", _t('HtmlEditorField.URL', "URL"), 'http://'), new EmailField("email", _t('HtmlEditorField.EMAIL', "Email address")), new TreeDropdownField("file",_t('HtmlEditorField.FILE', "File"),"File", "Filename"),