把
SWFUpload.prototype.cleanUp
方法修改为:
SWFUpload.prototype.cleanUp = function (f) {
try {
if (this.movieElement && typeof (f.CallFunction) === "unknown") {
this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");
for (var h in f) {
try {
if (typeof (f[h]) === "function" && h[0] >= 'A' && h[0] <= 'Z') {
f[h] = null;
}
} catch (e) {
}
}
}
} catch (g) {
}
window.__flash__removeCallback = function (c, b) { try { if (c) { c[b] = null; } } catch (a) { } };
};