hide upload progress bar and cancel action in IE < 10
This commit is contained in:
parent
9ffd4197ae
commit
5e16510a53
|
@ -434,6 +434,10 @@ $(document).ready(function() {
|
||||||
$('#uploadprogressbar').progressbar('value',progress);
|
$('#uploadprogressbar').progressbar('value',progress);
|
||||||
},
|
},
|
||||||
start: function(e, data) {
|
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').progressbar({value:0});
|
||||||
$('#uploadprogressbar').fadeIn();
|
$('#uploadprogressbar').fadeIn();
|
||||||
if(data.dataType != 'iframe ') {
|
if(data.dataType != 'iframe ') {
|
||||||
|
|
Loading…
Reference in New Issue