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) {
|
), function(result) {
|
||||||
pandora.api.addMediaUrl({
|
pandora.api.addMediaUrl({
|
||||||
url: item.url,
|
url: item.url,
|
||||||
|
referer: item.referer,
|
||||||
item: id
|
item: id
|
||||||
}, callback);
|
}, callback);
|
||||||
});
|
});
|
||||||
|
|
|
@ -222,7 +222,8 @@ pandora.ui.addItemDialog = function(options) {
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
});
|
});
|
||||||
values.url= info.url;
|
values.url = info.url;
|
||||||
|
values.referer = info.referer;
|
||||||
return Ox.extend(info, values);
|
return Ox.extend(info, values);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue