summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-01-18 22:06:42 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-01-18 22:06:42 +0100
commit5e16510a5360e256a6dea7389a48d06ec85b5f8a (patch)
tree61b284a0cbabd2e1903268d1389339a27c166b19 /apps
parent9ffd4197aeee96bb457d5345ba0e87a635f21f1c (diff)
downloadnextcloud-server-5e16510a5360e256a6dea7389a48d06ec85b5f8a.tar.gz
nextcloud-server-5e16510a5360e256a6dea7389a48d06ec85b5f8a.zip
hide upload progress bar and cancel action in IE < 10
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/files.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 3a4af6416e9..5d050cb7e62 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -434,6 +434,10 @@ $(document).ready(function() {
$('#uploadprogressbar').progressbar('value',progress);
},
start: function(e, data) {
+ //IE < 10 does not fire the necessary events for the progress bar.
+ if($.browser.msie && parseInt($.browser.version) < 10) {
+ return;
+ }
$('#uploadprogressbar').progressbar({value:0});
$('#uploadprogressbar').fadeIn();
if(data.dataType != 'iframe ') {