forked from 0x2620/pandora
pass referer in more places
This commit is contained in:
parent
4cf28434eb
commit
41fce072a3
2 changed files with 3 additions and 1 deletions
|
@ -216,6 +216,7 @@ pandora.ui.addFilesDialog = function(options) {
|
|||
), function(result) {
|
||||
pandora.api.addMediaUrl({
|
||||
url: item.url,
|
||||
referer: item.referer,
|
||||
item: id
|
||||
}, callback);
|
||||
});
|
||||
|
|
|
@ -222,7 +222,8 @@ pandora.ui.addItemDialog = function(options) {
|
|||
}
|
||||
return value;
|
||||
});
|
||||
values.url= info.url;
|
||||
values.url = info.url;
|
||||
values.referer = info.referer;
|
||||
return Ox.extend(info, values);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue