BUGFIX: fixing in-content the insert dialog

This commit is contained in:
Julian Seidenberg 2012-09-21 15:44:30 +12:00
parent 96daa58bc3
commit e9ee4c85a7
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -10,7 +10,7 @@
var form = $('form.htmleditorfield-linkform');
var show = false;
if (this.attr('value') === 'documentopt') {
if (this.attr('value') === 'document') {
if (this.is(':checked')) {
show = true;
}

View File

@ -1,4 +1,4 @@
<div id="documentopt" class="ss-add field treedropdown searchable">
<div id="document" class="ss-add field treedropdown searchable">
<div class="document-add-existing <% if useFieldContext %>field<% else %>link-editor-context<% end_if %>">
<% if useFieldContext %>
<h3>