Skip to content
Snippets Groups Projects
Commit 831b7ca8 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

don't update progress bar in ie < 10

parent c1a944a6
No related branches found
No related tags found
No related merge requests found
......@@ -381,9 +381,10 @@ $(document).ready(function() {
* @param data
*/
stop: function(e, data) {
if(data.dataType != 'iframe ') {
if(data.dataType !== 'iframe') {
$('#upload input.stop').hide();
}
//IE < 10 does not fire the necessary events for the progress bar.
if($.browser.msie && parseInt($.browser.version) < 10) {
return;
......@@ -558,6 +559,7 @@ $(document).ready(function() {
var eventSource=new OC.EventSource(OC.filePath('files','ajax','newfile.php'),{dir:$('#dir').val(),source:name,filename:localName});
eventSource.listen('progress',function(progress){
//IE < 10 does not fire the necessary events for the progress bar.
if($.browser.msie && parseInt($.browser.version) < 10) {
} else {
$('#uploadprogressbar').progressbar('value',progress);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment