diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataEditor/gallery.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataEditor/gallery.xhtml index 57a119bc813..370db29f961 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataEditor/gallery.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataEditor/gallery.xhtml @@ -364,8 +364,8 @@ icon="fa fa-link fa-sm" styleClass="plain" disabled="#{readOnly}" - rendered="#{DataEditorForm.structurePanel.assignableSeveralTimes and not - DataEditorForm.structurePanel.assignedSeveralTimes and DataEditorForm.selectedMedia.size() eq 1}" + rendered="#{DataEditorForm.structurePanel.assignableSeveralTimes and + DataEditorForm.selectedMedia.size() eq 1}" action="#{DataEditorForm.structurePanel.assign}" process="@this" oncomplete="$('#loadingScreen').hide()"