Simple Upload 在 IE Metro 中不起作用

作者: jacobbrgr创建于 2014年9月4日更新于 2020年2月17日
标签browser bug

Hello, When I use the Simple version of the uploader with just the Select files… and progress bar, it looks like nothing is happening when I upload a file. I am using IE 11 in its app mode rather than its desktop mode. The complete event is firing but it doesn't seem to have processed anything. To further expand since Metro is awful for debugging, when I catch e from complete, this is what it consists of: readyState: 0 getResponseHeader: function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t} getAllResponseHeaders: function(){return 2===b?a:null} setRequestHeader: function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this} overrideMimeType: function(e){return b||(p.mimeType=e),this} statusCode: function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this} abort: function(e){var t=e||w;return u&&u.abort(t),k(0,t),this} state: function(){return n} always: function(){return i.done(arguments).fail(arguments),this} then: function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function%28%29{var e=s&&s.apply%28this,arguments%29;e&&x.isFunction%28e.promise%29?e.promise%28%29.done%28n.resolve%29.fail%28n.reject%29.progress%28n.notify%29:n[a+"With"]%28this===r?n.promise%28%29:this,s?[e]:arguments%29})}),e=null}).promise()} promise: function(e){return null!=e?x.extend(e,r):r} pipe: function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function%28%29{var e=s&&s.apply%28this,arguments%29;e&&x.isFunction%28e.promise%29?e.promise%28%29.done%28n.resolve%29.fail%28n.reject%29.progress%28n.notify%29:n[a+"With"]%28this===r?n.promise%28%29:this,s?[e]:arguments%29})}),e=null}).promise()} done: function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this} fail: function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this} progress: function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this} complete: function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this} success: function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return

内容来源: blueimp/jQuery-File-Upload