Merge pull request #1227 from owncloud/hideuploadprogresscancelinielt10

hide upload progress bar and cancel action in IE < 10
This commit is contained in:
Thomas Müller 2013-01-30 02:48:12 -08:00
commit 5761bd771f
1 changed files with 4 additions and 0 deletions

View File

@ -462,6 +462,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 ') {