mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Tweak dropdownfield
This commit is contained in:
parent
8b5fcd3336
commit
bab52e2403
@ -124,7 +124,7 @@ class HTMLEditorField_Toolbar extends RequestHandler
|
||||
|
||||
$numericLabelTmpl = '<span class="step-label"><span class="flyout">Step %d.</span>'
|
||||
. '<span class="title">%s</span></span>';
|
||||
|
||||
|
||||
$form = new Form(
|
||||
$this->controller,
|
||||
"{$this->name}/LinkForm",
|
||||
@ -165,7 +165,10 @@ class HTMLEditorField_Toolbar extends RequestHandler
|
||||
$fileField = TreeDropdownField::create(
|
||||
'file',
|
||||
_t('HTMLEditorField.FILE', 'File'),
|
||||
File::class),
|
||||
File::class,
|
||||
'ID',
|
||||
'Name'
|
||||
),
|
||||
TextField::create('Anchor', _t('HTMLEditorField.ANCHORVALUE', 'Anchor')),
|
||||
TextField::create('Subject', _t('HTMLEditorField.SUBJECT', 'Email subject')),
|
||||
TextField::create('Description', _t('HTMLEditorField.LINKDESCR', 'Link description')),
|
||||
|
Loading…
Reference in New Issue
Block a user