forked from 0x2620/pandora
more scrollbars, but avoid horizontal
This commit is contained in:
parent
2faacac5a8
commit
4338315d57
3 changed files with 5 additions and 3 deletions
|
@ -66,7 +66,7 @@ pandora.ui.addFilesDialog = function(options) {
|
|||
title: Ox._('Size'),
|
||||
align: 'right',
|
||||
visible: true,
|
||||
width: 128
|
||||
width: 110
|
||||
},
|
||||
{
|
||||
id: 'width',
|
||||
|
@ -82,7 +82,7 @@ pandora.ui.addFilesDialog = function(options) {
|
|||
items: options.items.map(function(value, index) {
|
||||
return Ox.extend(value, {index: index})
|
||||
}),
|
||||
scrollbarsVisible: true,
|
||||
scrollbarVisible: true,
|
||||
sort: [{key: 'index', operator: '+'}],
|
||||
sortable: true
|
||||
}).css({
|
||||
|
|
|
@ -131,6 +131,7 @@ pandora.ui.addItemDialog = function(options) {
|
|||
$video.one('error', function(event) {
|
||||
if (!done) {
|
||||
done = true;
|
||||
$video[0].src = ''
|
||||
URL.revokeObjectURL(url);
|
||||
callback(info);
|
||||
}
|
||||
|
@ -146,6 +147,7 @@ pandora.ui.addItemDialog = function(options) {
|
|||
if (info.duration) {
|
||||
info.bitrate = info.size * 8 / info.duration / 1000;
|
||||
}
|
||||
$video[0].src = ''
|
||||
URL.revokeObjectURL(url);
|
||||
callback(info);
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ pandora.ui.tasksDialog = function(options) {
|
|||
},
|
||||
title: Ox._('Status'),
|
||||
visible: true,
|
||||
width: 176
|
||||
width: 156
|
||||
},
|
||||
{
|
||||
id: 'progress',
|
||||
|
|
Loading…
Reference in a new issue