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'),
|
title: Ox._('Size'),
|
||||||
align: 'right',
|
align: 'right',
|
||||||
visible: true,
|
visible: true,
|
||||||
width: 128
|
width: 110
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'width',
|
id: 'width',
|
||||||
|
@ -82,7 +82,7 @@ pandora.ui.addFilesDialog = function(options) {
|
||||||
items: options.items.map(function(value, index) {
|
items: options.items.map(function(value, index) {
|
||||||
return Ox.extend(value, {index: index})
|
return Ox.extend(value, {index: index})
|
||||||
}),
|
}),
|
||||||
scrollbarsVisible: true,
|
scrollbarVisible: true,
|
||||||
sort: [{key: 'index', operator: '+'}],
|
sort: [{key: 'index', operator: '+'}],
|
||||||
sortable: true
|
sortable: true
|
||||||
}).css({
|
}).css({
|
||||||
|
|
|
@ -131,6 +131,7 @@ pandora.ui.addItemDialog = function(options) {
|
||||||
$video.one('error', function(event) {
|
$video.one('error', function(event) {
|
||||||
if (!done) {
|
if (!done) {
|
||||||
done = true;
|
done = true;
|
||||||
|
$video[0].src = ''
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
callback(info);
|
callback(info);
|
||||||
}
|
}
|
||||||
|
@ -146,6 +147,7 @@ pandora.ui.addItemDialog = function(options) {
|
||||||
if (info.duration) {
|
if (info.duration) {
|
||||||
info.bitrate = info.size * 8 / info.duration / 1000;
|
info.bitrate = info.size * 8 / info.duration / 1000;
|
||||||
}
|
}
|
||||||
|
$video[0].src = ''
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
callback(info);
|
callback(info);
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@ pandora.ui.tasksDialog = function(options) {
|
||||||
},
|
},
|
||||||
title: Ox._('Status'),
|
title: Ox._('Status'),
|
||||||
visible: true,
|
visible: true,
|
||||||
width: 176
|
width: 156
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'progress',
|
id: 'progress',
|
||||||
|
|
Loading…
Reference in a new issue