Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
910224c
Removed finna-video-element, adjusted styles alot, created finna-vide…
LuomaJuha Feb 17, 2025
3d057b2
Remove finna-cookie-consent element, used lightbox more
LuomaJuha Feb 17, 2025
2ea67a0
Small tuning
LuomaJuha Feb 18, 2025
41e3f7d
Added finna prefix to the modal template
LuomaJuha Feb 18, 2025
7f77562
Rename to -template so it is more obvious
LuomaJuha Feb 18, 2025
52e2692
Added legacy helper which helps loading js and css files, if template…
LuomaJuha Feb 20, 2025
5428647
Merge branch 'dev' into fix-finna-video-js
LuomaJuha Sep 11, 2025
1f20fe8
Removed legacy helper
LuomaJuha Sep 11, 2025
d522e9d
REmoved unused css
LuomaJuha Sep 11, 2025
b87ac03
Adjusted script loader to asynchronously download scripts in order.
LuomaJuha Sep 12, 2025
068e398
Adjusted script loading to work properly with using promises and adju…
LuomaJuha Sep 15, 2025
c76740f
Removed bad comment
LuomaJuha Sep 15, 2025
18cf829
Allow wider popup modal
LuomaJuha Sep 15, 2025
c31d42d
adjusted comment
LuomaJuha Sep 15, 2025
2dff0af
Remove unused promise
LuomaJuha Sep 15, 2025
a9471da
removed unused alias
LuomaJuha Sep 15, 2025
da4b7de
Added start to available online links to avoid popup center rule
LuomaJuha Sep 15, 2025
8abc774
Merge branch 'dev' into fix-finna-video-js
LuomaJuha Sep 23, 2025
a63c339
Adjusted comments, try to separate iframe video path from videojs path
LuomaJuha Sep 24, 2025
d369a4d
Comments
LuomaJuha Sep 24, 2025
28ea101
Reverted removed line
LuomaJuha Sep 24, 2025
a93bb80
Display consent only on embedded videos
LuomaJuha Sep 24, 2025
ac7f11b
Update themes/finna2/js/finna-video-player.js
LuomaJuha Oct 8, 2025
bc3c6f4
Update themes/finna2/js/finna-video-player.js
LuomaJuha Oct 8, 2025
50fabb3
Update themes/finna2/js/finna-video-player.js
LuomaJuha Oct 8, 2025
3f138d0
Apply suggestion from @EreMaijala
LuomaJuha Oct 8, 2025
63d76e2
Apply suggestion from @EreMaijala
LuomaJuha Oct 8, 2025
1fb3a65
Added comments about inline viewer and active, moved truncate and ucf…
LuomaJuha Oct 17, 2025
64a195b
Adjusted call to scripts
LuomaJuha Oct 17, 2025
ff80b7a
height from viewport
LuomaJuha Oct 17, 2025
a954eb4
Apply suggestion from @EreMaijala
LuomaJuha Oct 23, 2025
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
116 changes: 0 additions & 116 deletions themes/finna2/js/finna-cookie-consent-element.js

This file was deleted.

5 changes: 0 additions & 5 deletions themes/finna2/js/finna-image-paginator.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,6 @@ FinnaPaginator.prototype.loadImageInformation = function loadImageInformation()
if (typeof $('.open-link a').attr('href') !== 'undefined') {
_.setDimensions();
}
_.popup.collapseArea.find('finna-video').on('click', () => {
_.setCanvasElement('video');
});
if ($('.imagepopup-holder .feedback-record')[0] || $('.imagepopup-holder .save-record')[0]) {
$('.imagepopup-holder .feedback-record, .imagepopup-holder .save-record').on('click', function onClickActionLink(/*e*/) {
$.fn.finnaPopup.closeOpen();
Expand Down Expand Up @@ -883,10 +880,8 @@ FinnaPaginator.prototype.createPopupObject = function createPopupObject(popup) {
_.canvasElements = {
leaflet: popup.find('.leaflet-map-image'),
noZoom: popup.find('.popup-nonzoom'),
video: popup.find('.popup-video')
};
_.canvasElements.leaflet.attr('id', 'leaflet-map-image');
_.canvasElements.video.attr('id', 'video-player');
if (_.images.length < 2) {
_.popup.covers.parent().hide();
_.popup.leftBrowseBtn.hide();
Expand Down
Loading