diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml index 885ae1847a6..a5e7cf2b568 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml @@ -55,7 +55,7 @@ @@ -68,7 +68,7 @@ value="#{item.value}" rows="2" disabled="#{not item.editable or readOnly}" - required="#{request.requestURI.contains('metadataEditor') and item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" + required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" styleClass="#{not item.editable or readOnly ? 'read-only disabled' : ''}"> @@ -80,7 +80,7 @@ @@ -93,7 +93,7 @@ pattern="yyyy-MM-dd" styleClass="input-with-button #{not item.editable or readOnly ? 'read-only disabled' : ''}" showOn="button" - required="#{request.requestURI.contains('metadataEditor') and item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" + required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" disabled="#{not item.editable or readOnly}"> @@ -106,7 +106,7 @@ readonly="#{not item.editable}" styleClass="#{not item.editable or readOnly ? 'read-only disabled' : ''}" disabled="#{not item.editable or readOnly}" - required="#{request.requestURI.contains('metadataEditor') and item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" + required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" showCheckbox="true"> @@ -121,7 +121,7 @@ readonly="#{not item.editable}" autoWidth="false" disabled="#{not item.editable or readOnly}" - required="#{request.requestURI.contains('metadataEditor') and item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" + required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" styleClass="#{readOnly ? 'read-only' : ''}">