summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 14:09:17 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 14:12:34 +0100
commit0e78415cb11aee163b8bba2d22990712cc7666ed (patch)
tree075ee642910fad666490323ef7ffc8993b63f431 /apps/files/js
parent2e6235456a353dd65cc91cbaf2a8024c7fa53827 (diff)
downloadnextcloud-server-0e78415cb11aee163b8bba2d22990712cc7666ed.tar.gz
nextcloud-server-0e78415cb11aee163b8bba2d22990712cc7666ed.zip
fix accessibility of file upload
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/file-upload.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 9fe623075bc..b5c8391e802 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -187,7 +187,7 @@ OC.Upload = {
},
_hideProgressBar: function() {
- $('#uploadprogresswrapper input.stop').fadeOut();
+ $('#uploadprogresswrapper .stop').fadeOut();
$('#uploadprogressbar').fadeOut(function() {
$('#file_upload_start').trigger(new $.Event('resized'));
});
@@ -469,13 +469,13 @@ OC.Upload = {
OC.Upload.log('progress handle fileuploadadd', e, data);
//show cancel button
//if (data.dataType !== 'iframe') { //FIXME when is iframe used? only for ie?
- // $('#uploadprogresswrapper input.stop').show();
+ // $('#uploadprogresswrapper .stop').show();
//}
});
// add progress handlers
fileupload.on('fileuploadstart', function(e, data) {
OC.Upload.log('progress handle fileuploadstart', e, data);
- $('#uploadprogresswrapper input.stop').show();
+ $('#uploadprogresswrapper .stop').show();
$('#uploadprogressbar').progressbar({value: 0});
OC.Upload._showProgressBar();
});