This commit is contained in:
rolux 2011-10-27 13:15:20 +00:00
commit d30c2ba78e
19 changed files with 163 additions and 27 deletions

View file

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

View file

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