uploadify ie9 empty() 缺少对象

发布时间:2015/9/8 10:43:56 浏览量:865


方法修改为:

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) { } };
};

网友回复
总数:0 当前页:1 / 0 首页 上页 下页 末页
回复

品码堂 (关于我们

桂ICP备13004001号