hide upload progress bar and cancel action in IE < 10

This commit is contained in:
Jörn Friedrich Dreyer 2013-01-18 22:06:42 +01:00
parent 9ffd4197ae
commit 5e16510a53

View file

@ -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 ') {