mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Clear progress bar text when hiding it
When files are uploaded the progress bar text is set accordingly. However, other operations that show the progress bar, like deleting files, do not explicitly set any text. Due to that, when the progress bar was shown again after uploading files the text did not match the operation. To solve that now the text is cleared when the progress bar is hidden (it is not cleared when it is shown as in some cases the text is set already before showing the progress bar). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
19ce7bbb91
commit
3a91a51b4c
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
|||
$('#uploadprogressbar').fadeOut(function() {
|
||||
self.$el.trigger(new $.Event('resized'));
|
||||
});
|
||||
this.setProgressBarText('', '');
|
||||
},
|
||||
|
||||
hideCancelButton: function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue