diff --git a/static/js/addFilesDialog.js b/static/js/addFilesDialog.js index 9103ec1d8..1e00bb227 100644 --- a/static/js/addFilesDialog.js +++ b/static/js/addFilesDialog.js @@ -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({ diff --git a/static/js/addItemDialog.js b/static/js/addItemDialog.js index 6e14025dd..a25f2f445 100644 --- a/static/js/addItemDialog.js +++ b/static/js/addItemDialog.js @@ -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); } diff --git a/static/js/tasksDialog.js b/static/js/tasksDialog.js index 345c96dac..1abef0afe 100644 --- a/static/js/tasksDialog.js +++ b/static/js/tasksDialog.js @@ -92,7 +92,7 @@ pandora.ui.tasksDialog = function(options) { }, title: Ox._('Status'), visible: true, - width: 176 + width: 156 }, { id: 'progress',