add loading screen while preparing files for upload
This commit is contained in:
parent
a786f5d9bc
commit
daed8b816c
1 changed files with 5 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue