add loading screen while preparing files for upload

This commit is contained in:
j 2019-07-23 11:36:31 +02:00
parent a786f5d9bc
commit daed8b816c

View File

@ -8,6 +8,11 @@ pandora.ui.addFilesDialog = function(options) {
}).bindEvent({
click: function() {
$button.options({disabled: true});
that.disableCloseButton()
var $screen = Ox.LoadingScreen({
size: 16
});
that.options({content: $screen.start()});
(options.action == 'upload' ? uploadVideos : importVideos)(function() {
that.close();
pandora.ui.tasksDialog({