enable Download/Import for item owners
This commit is contained in:
parent
2c3ff91c91
commit
6b58767d31
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ pandora.ui.editor = function(data) {
|
|||
clickLink: pandora.clickLink,
|
||||
cuts: data.cuts || [],
|
||||
duration: data.duration,
|
||||
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel,
|
||||
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level],
|
||||
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel || data.editable,
|
||||
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level] || data.editable,
|
||||
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
|
||||
enableSubtitles: ui.videoSubtitles,
|
||||
find: ui.itemFind,
|
||||
|
|
Loading…
Reference in a new issue