forked from 0x2620/pandora
use direct download for private items. Torrents only work if item is public
This commit is contained in:
parent
f82f2d8b07
commit
d74a264a6a
3 changed files with 12 additions and 6 deletions
|
|
@ -127,8 +127,8 @@ pandora.ui.editor = function(data) {
|
|||
pandora.$ui[dialog] && pandora.$ui[dialog].remove();
|
||||
pandora.$ui[dialog] = pandora.ui[dialog](data).open();
|
||||
},
|
||||
downloadvideo: function(data) {
|
||||
document.location.href = pandora.getDownloadLink(ui.item);
|
||||
downloadvideo: function() {
|
||||
document.location.href = pandora.getDownloadLink(ui.item, data.rightslevel);
|
||||
},
|
||||
downloadselection: function(data) {
|
||||
document.location.href = '/' + ui.item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue