mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
BUGFIX: give the div field on document add/editing form a id so the form's _super behaviour is applied to it
This commit is contained in:
parent
48ccffef6f
commit
0a29388e9e
@ -17,7 +17,7 @@ class DocumentHtmlEditorFieldToolbar extends Extension {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$source = $linkType->getSource();
|
$source = $linkType->getSource();
|
||||||
$source['document'] = 'Download a document';
|
$source['documentopt'] = 'Download a document';
|
||||||
$linkType->setSource($source);
|
$linkType->setSource($source);
|
||||||
|
|
||||||
$addExistingField = new DMSDocumentAddExistingField('AddExisting', 'Add Existing');
|
$addExistingField = new DMSDocumentAddExistingField('AddExisting', 'Add Existing');
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="ss-add field treedropdown searchable">
|
<div id="documentopt" class="ss-add field treedropdown searchable">
|
||||||
<div class="document-add-existing <% if useFieldContext %>field<% else %>link-editor-context<% end_if %>">
|
<div class="document-add-existing <% if useFieldContext %>field<% else %>link-editor-context<% end_if %>">
|
||||||
<% if useFieldContext %>
|
<% if useFieldContext %>
|
||||||
<h3>
|
<h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user