修复ajafileupload.js无法使用jq1.4以上版本的bug

master
星期八 6 years ago
parent a3dc9ecb2d
commit c0044a14cc
  1. 11
      src/main/webapp/resources/code/js/ajaxfileupload.js

@ -1,6 +1,17 @@
jQuery.extend({
handleError: function (s, xhr, status, e) {
// If a local callback was specified, fire it
if (s.error) {
s.error.call(s.context || s, xhr, status, e);
}
// Fire the global callback
if (s.global) {
(s.context ? jQuery(s.context) : jQuery.event).trigger("ajaxError", [xhr, s, e]);
}
},
createUploadIframe: function(id, uri)
{

Loading…
Cancel
Save