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) {
pandora.api.addMediaUrl({
url: item.url,
referer: item.referer,
item: id
}, callback);
});

View file

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