61dd667a71 changed source->hasSource, fix in js too

This commit is contained in:
j 2025-12-03 11:49:32 +01:00
commit 31b98d0707
3 changed files with 4 additions and 2 deletions

View file

@ -192,7 +192,7 @@ pandora.ui.editor = function(data) {
pandora.ui.downloadVideoDialog({
item: ui.item,
rightsLevel: rightsLevel,
source: data.source && pandora.hasCapability('canDownloadSource'),
source: data.hasSource && pandora.hasCapability('canDownloadSource'),
title: data.title,
video: data.video
}).open();

View file

@ -2448,7 +2448,7 @@ pandora.VIDEO_OPTIONS_KEYS = [
'rendered',
'rightslevel',
'size',
'source',
'hasSource',
'streams',
'title',
'videoRatio'