diff --git a/static/js/addFilesDialog.js b/static/js/addFilesDialog.js index e718b2183..6a31b26f1 100644 --- a/static/js/addFilesDialog.js +++ b/static/js/addFilesDialog.js @@ -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({