]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update operationprogressbar.js 16437/head
authorJames Lao <jameslao@users.noreply.github.com>
Fri, 28 Jun 2019 16:08:16 +0000 (09:08 -0700)
committerBackportbot <backportbot-noreply@rullzer.com>
Wed, 17 Jul 2019 10:48:50 +0000 (10:48 +0000)
To fix issue #16137

Signed-off-by: james.lao@gmail.com <james.lao@gmail.com>
apps/files/js/operationprogressbar.js

index d07cea91235ce3f8bd8e095938854f72697ebfe7..1c054ec67b6bef9f01c8ea2aa333fe42cf8c4f6f 100644 (file)
@@ -67,7 +67,9 @@
                        if(title) {
                                $('#uploadprogressbar').attr('original-title', title);
                        }
-                       $('#uploadprogresswrapper .stop').show();
+                       if(textDesktop || textMobile) {
+                               $('#uploadprogresswrapper .stop').show();
+                       }
                },
 
                _onClickCancel: function (event) {