forked from 0x2620/pandora
merge
This commit is contained in:
commit
d30c2ba78e
19 changed files with 163 additions and 27 deletions
|
|
@ -417,7 +417,11 @@ pandora.ui.filesView = function(options, self) {
|
|||
}, function(result) {
|
||||
['title', 'director', 'year'].forEach(function(key) {
|
||||
if (result.data[key]) {
|
||||
self['$' + key + 'Input'].options({value: result.data[key]});
|
||||
self['$' + key + 'Input'].options({
|
||||
value: key == 'director'
|
||||
? result.data[key].join(', ')
|
||||
: result.data[key]
|
||||
});
|
||||
}
|
||||
});
|
||||
updateForm();
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ pandora.ui.item = function() {
|
|||
});
|
||||
pandora.site.video.resolutions.forEach(function(resolution) {
|
||||
video[resolution] = Ox.range(result.data.parts).map(function(i) {
|
||||
return '/' + pandora.user.ui.item + '/'
|
||||
return pandora.site.site.videoprefix + '/' + pandora.user.ui.item + '/'
|
||||
+ resolution + 'p' + (i + 1) + '.' + pandora.user.videoFormat;
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue