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:
Normann Lou 2012-09-21 12:40:10 +12:00
parent 48ccffef6f
commit 0a29388e9e
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class DocumentHtmlEditorFieldToolbar extends Extension {
}
$source = $linkType->getSource();
$source['document'] = 'Download a document';
$source['documentopt'] = 'Download a document';
$linkType->setSource($source);
$addExistingField = new DMSDocumentAddExistingField('AddExisting', 'Add Existing');

View File

@ -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 %>">
<% if useFieldContext %>
<h3>