forked from 0x2620/pandora
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,
|
clickLink: pandora.clickLink,
|
||||||
cuts: data.cuts || [],
|
cuts: data.cuts || [],
|
||||||
duration: data.duration,
|
duration: data.duration,
|
||||||
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel,
|
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel || data.editable,
|
||||||
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level],
|
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level] || data.editable,
|
||||||
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
|
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
|
||||||
enableSubtitles: ui.videoSubtitles,
|
enableSubtitles: ui.videoSubtitles,
|
||||||
find: ui.itemFind,
|
find: ui.itemFind,
|
||||||
|
|
Loading…
Reference in a new issue