Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update thumbnails-overlay after paginating #5276

Merged
merged 2 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Kitodo/src/main/webapp/WEB-INF/resources/css/kitodo.css
Original file line number Diff line number Diff line change
Expand Up @@ -3028,7 +3028,7 @@ Column content
margin-right: 3px;
}

.thumbnail-overlay {
.ui-widget .thumbnail-overlay {
position: absolute;
top: 0;
bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
onclick="window.pagesScrollPosition = $('#paginationForm\\:paginationSelection .ui-selectlistbox-listcontainer').scrollTop();
PF('notifications').renderMessage({'summary':'#{msgs.paginationSaving}','severity':'info'});$('loadingScreen').show()"
oncomplete="$('#paginationForm\\:paginationSelection .ui-selectlistbox-listcontainer').scrollTop(pagesScrollPosition);"
update="notifications, paginationForm:paginationSelection, @(.ui-tree), imagePreviewForm:thumbnailWrapper, metadataAccordion:logicalMetadataWrapperPanel"
update="notifications, paginationForm:paginationSelection, @(.ui-tree), @(.thumbnail-overlay), metadataAccordion:logicalMetadataWrapperPanel"
value="#{msgs.apply}"/>
<p:commandButton id="cancel"
value="#{msgs.cancel}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@
<h:outputText value="#{DataEditorForm.galleryPanel.getSeveralAssignmentsIndex(media) + 1}"
rendered="#{media.assignedSeveralTimes}"
styleClass="assigned-several-times"/>
<h:panelGroup class="thumbnail-overlay">
<p:outputPanel class="thumbnail-overlay">
#{msgs.image} #{media.shortId}, #{msgs.page} #{media.orderlabel}
</h:panelGroup>
</p:outputPanel>
</p:outputPanel>
</p:outputPanel>
</p:panel>
Expand Down Expand Up @@ -193,9 +193,9 @@
<f:param name="sessionId"
value="#{DataEditorForm.galleryPanel.cachingUUID}"/>
</p:graphicImage>
<h:panelGroup class="thumbnail-overlay">
<p:outputPanel class="thumbnail-overlay">
#{msgs.image} #{media.shortId}, #{msgs.page} #{media.orderlabel}
</h:panelGroup>
</p:outputPanel>
</p:outputPanel>
</h:panelGroup>
</p:panel>
Expand Down Expand Up @@ -233,9 +233,9 @@
<f:param name="sessionId"
value="#{DataEditorForm.galleryPanel.cachingUUID}"/>
</p:graphicImage>
<h:panelGroup styleClass="thumbnail-overlay">
<p:outputPanel class="thumbnail-overlay">
#{msgs.image} #{media.shortId}, #{msgs.page} #{media.orderlabel}
</h:panelGroup>
</p:outputPanel>
</h:panelGroup>
</p:panel>
</p:outputPanel>
Expand Down Expand Up @@ -277,9 +277,9 @@
<f:param name="sessionId"
value="#{DataEditorForm.galleryPanel.cachingUUID}"/>
</p:graphicImage></h:outputText>
<h:panelGroup layout="block" styleClass="thumbnail-overlay">
<p:outputPanel layout="block" class="thumbnail-overlay">
#{msgs.image} #{media.shortId}, #{msgs.page} #{media.orderlabel}
</h:panelGroup>
</p:outputPanel>
</p:outputPanel>
</h:panelGroup>
</p:outputPanel>
Expand Down