pass referer in more places

This commit is contained in:
j 2020-11-08 22:43:47 +01:00
parent 4cf28434eb
commit 41fce072a3
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}); });

View file

@ -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);
} }