mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
1f846970c3
commit
2b49d18350
@ -359,7 +359,7 @@ class HtmlEditorField_Toolbar extends RequestHandlingData {
|
|||||||
"file" => _t('HtmlEditorField.LINKFILE', "Download a file"),
|
"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 TextField("external", _t('HtmlEditorField.URL', "URL"), 'http://'),
|
||||||
new EmailField("email", _t('HtmlEditorField.EMAIL', "Email address")),
|
new EmailField("email", _t('HtmlEditorField.EMAIL', "Email address")),
|
||||||
new TreeDropdownField("file",_t('HtmlEditorField.FILE', "File"),"File", "Filename"),
|
new TreeDropdownField("file",_t('HtmlEditorField.FILE', "File"),"File", "Filename"),
|
||||||
|
Loading…
Reference in New Issue
Block a user